python - Auto-Execute Script upon USB Mount -


my main reason learning python me ethical hacking. 1 of things i've wanted know while how can auto-start script upon mount. example, on ubuntu, default setting automatically mount usb. fear there must way execute script upon mount, i've turned off feature. know how it's done, ideally showing me example using code.

not detail, it's operating system settings, on linux this , note hack , you'd have somehow hack shell first, execute these commands specific usb, , on windows have setup autoplay setting start program, , autorun.inf on usb exe files shown how here , , anyway you'd have hack directly os it, if hack os, don't need transfer scripts usb, run them directly :)

so ending there :) it's not easy might think ;)


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -