B1uscr34m

Router reconnect script (Telekom Speedport W723V Typ B)

Jul 7th, 2015
241
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [[[HSRC]]]
  2. [[[STEP]]]
  3. [[[REQUEST https="true"]]]
  4. POST /index/login.cgi HTTP/1.1
  5. Host: %%%routerip%%%
  6. Referer: https://%%%routerip%%%/
  7.  
  8. Username=admin&Password=%%%BASE64::::pass%%%
  9. [[[/REQUEST]]]
  10. [[[PARSE]]]
  11. session:SessionID_R3\=(.*)0
  12. [[[/PARSE]]]
  13. [[[/STEP]]]
  14.  
  15. [[[STEP]]]
  16. [[[REQUEST https="true"]]]
  17. POST /auth/setcfg.cgi?x=InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1&RequestFile=/auth/hcti_netzwerk_wan.php?dialReg=1&cookie=SessionID_R3,%%%session%%% HTTP/1.1
  18. Host: %%%routerip%%%
  19. Referer: https://%%%routerip%%%/auth/hcti_netzwerk_wan.php?cookie=SessionID_R3,%%%session%%%&sentReg=0
  20. Cookie: SessionID_R3=%%%session%%%
  21.  
  22. x.Enable=1&x.ConnectionTrigger=AlwaysOn&x.IdleDisconnectTime=600
  23. [[[/REQUEST]]]
  24. [[[/STEP]]]
  25.  
  26. [[[STEP]]]
  27. [[[REQUEST https="true"]]]
  28. POST /auth/logout.cgi?RequestFile=/pub/top_beenden.php&cookie=SessionID_R3,%%%session%%% HTTP/1.1
  29. Host: %%%routerip%%%
  30. Referer: https://%%%routerip%%%/auth/hcti_netzwerk_wan.php?cookie=SessionID_R3,%%%session%%%&sentReg=0
  31. Cookie: SessionID_R3=%%%session%%%
  32. [[[/REQUEST]]]
  33. [[[/STEP]]]
  34.  
  35. [[[/HSRC]]]
RAW Paste Data