GoodSoul

jDownloader 2: OpenWrt Reconnect Script (Chaos Calmer)

Feb 14th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. [[[HSRC]]]
  2.  
  3. [[[STEP]]]
  4. [[[DEFINE routername="OpenWrt Chaos Calmer"/]]]
  5. [[[/STEP]]]
  6.  
  7. [[[STEP]]]
  8. [[[REQUEST]]]
  9. POST /cgi-bin/luci HTTP/1.1
  10. Host: %%%routerip%%%
  11. luci_username=%%%user%%%&luci_password=%%%pass%%%
  12. [[[/REQUEST]]]
  13. [[[RESPONSE keys="stok"]]]
  14. ;stok=(.*)
  15. [[[/RESPONSE]]]
  16. [[[/STEP]]]
  17.  
  18. [[[STEP]]]
  19. [[[REQUEST]]]
  20. GET /cgi-bin/luci/;stok=%%%stok%%%/admin/network/iface_reconnect/wan HTTP/1.1
  21. Host: %%%routerip%%%
  22. [[[/REQUEST]]]
  23. [[[/STEP]]]
  24.  
  25. [[[/HSRC]]]
Add Comment
Please, Sign In to add comment