scapy-http icon indicating copy to clipboard operation
scapy-http copied to clipboard

README.md only shows how to parse an already HTTP packet but...how to create and send it with this library?

Open q2dg opened this issue 8 years ago • 6 comments

Thanks!

q2dg avatar Dec 19 '17 22:12 q2dg

Well...it seems this project is pretty abandoned seeing the lack of response...

q2dg avatar Mar 30 '18 22:03 q2dg

:_-(

q2dg avatar Jan 29 '19 21:01 q2dg

Try send() I guess?

FeverKing avatar Feb 10 '19 04:02 FeverKing

Thanks, but how can I create the packet first? package=IP(dst="www.google.com")/TCP()/HTTP("Host:www.google.com") doesn't seems to work.

q2dg avatar Feb 10 '19 11:02 q2dg

Hi It seems that 'scapy_http' was made to analyze http packages instead of sending them. In 'scapy' the argument 'dst' requires an IPv4 address I guess. Maybe you should ask the author for help.

FeverKing avatar Feb 11 '19 07:02 FeverKing

Thaks @FeverKing. Well, I opened this issue more than one year ago and there's no answer...so I haven't many expectations about the author. Let's see in the future.

P.S: In Scapy the argument "dst" can have a domain name, too.

q2dg avatar Feb 11 '19 09:02 q2dg