Im working on creating a Scapy script that does the three-way handshake, GET request, and then finally grabs the contents of a file via HTTP_request thats on a remote apache server, and then display it in the browser on my machine.
I've managed to get everything working except for when I try to do a HTTP Request it also returns that the file doesn't exist and then shows some random path its looking in.
This is the command ive been tinkering with thats on the scapy site that should work but doesnt:
load_layer("http")
http_request("10.10.10.10","/test", port=80, display=True)
The error below is the response I continuously get despite different versions of the command. The only difference is that the end of the URL string is different with every run. i.e: this one is "BSVkz0.html" but the previous one was "WCU4c0.html"
Failed to open URL"file:///tmp/scapyWCU4cO.html". Error when getting information for file "tmp/scapyBSVkz0.html": No such file or directory.
More info: played around with it more and received a new error in terminal:
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100 002b:err:winebrowser:wmain Failed to convert file URL to unix path
unsure if that's connected but the two machines involved are both Kali Linux
Any help is greatly appreciated!! thanks in advance
User contributions licensed under CC BY-SA 3.0