I've spent an insane amount of time on this last bit of code. I've used the google-fu as best I can for being relatively noobish, I've read through all the 'Evil Portal' searches I can find. I'm relatively new to code, so please bare with me.
With that said, I'm having a problem with redirects.
I have an evil portal deployed it dumps the username, password, redirect then the token to a text file. (the reason I'm currently dumping the last two is for troubleshooting).
When I click my final link and start the capture everything goes through and is logged correctly into the capture file.
it looks like I need to cut this (http://192.168.10.1:8080/nodogsplash_auth/) string in the first link and I can manage but it looks like that is loaded into the redir variable from the get go?
Evil Portal - Captive Portal
in Mark IV Infusions
Posted
Hi Friends!
I've spent an insane amount of time on this last bit of code. I've used the google-fu as best I can for being relatively noobish, I've read through all the 'Evil Portal' searches I can find. I'm relatively new to code, so please bare with me.
With that said, I'm having a problem with redirects.
I have an evil portal deployed it dumps the username, password, redirect then the token to a text file. (the reason I'm currently dumping the last two is for troubleshooting).
When I click my final link and start the capture everything goes through and is logged correctly into the capture file.
Afterwords the capture my redirect takes me to:
which then redirects to:
somehow I'm losing the token on the 2nd redirect, also it seems that I'm picking up more than just the path of the redirect when I use the $redir var.
If I pump in "http://www.test.com/tok=8af6d405" everything works just fine, validates and online.
Button stuff:
it looks like I need to cut this (http://192.168.10.1:8080/nodogsplash_auth/) string in the first link and I can manage but it looks like that is loaded into the redir variable from the get go?
Any help would be much appreciated.