Using scapy to defeat the dns poisoning, is it possible?

2019-08-19 Thread Hongyi Zhao
/0 A 69.171.248.65 (49) 06:49:35.824454 IP 8.8.8.8.53 > 192.168.1.2.59443: 56457 3/0/1 CNAME twitter.com., A 104.244.42.129, A 104.244.42.65 (90) As you can see, the dns is poisoned, is it possible to defeat this with scapy or some techniques with python? Regards -- .: Hongyi Zhao [ hongyi.zh

Re: failed to execute scapy commands from remote server

2018-08-09 Thread Rhodri James
On 09/08/18 13:11, Iranna Mathapati wrote: 2. When I try to execute scapy cmds in remote server I get the below error child_remote.sendline=sendp(arp3,iface='enp6s0f0',count=100) Traceback (most recent call last): File "", line 1, in File "/usr/local/li

failed to execute scapy commands from remote server

2018-08-09 Thread Iranna Mathapati
Hi Team, I have to ssh a remote server and execute scapy commands there. but its able to execute all linux commands from remote server handle I use pexpect and hitting issue. 1. SSH to remote shell via pexpect from current server parser_ip_add='192.168.1.83' ch

Re: how to get the html content and edit with scapy and see the edited result in browser?

2017-06-21 Thread Ho Yeung Lee
then i further googled a code, but the google chrome browser and microsoft edge browser can not see the new html from the fakehttp server is there something changed to prevent edit html after intercept? originally i hope to edit https html Begin emission: .* Received 2 packets, got 1 answers, rem

how to get the html content and edit with scapy and see the edited result in browser?

2017-06-20 Thread Ho Yeung Lee
pkts = sniff(prn=lambda x:x.sprintf("{IP:%IP.src% -> %IP.dst%\n}{Raw:%Raw.load%\n}"), filter="tcp port 80") for i in range(1,len(pkts)): #if pkts[i][IP].sport == 80: i,pkts[i][TCP].payload i find pkts[10] do not have html source code (8, ) (9, ) (10, ) (11, ) dir(pkts[10][TCP]) --

Scapy: sniff(filter='icmp', iface='ppp0', prn=icmp_callback)

2016-07-14 Thread Veek. M
#!/usr/bin/python import logging logging.getLogger("scapy.runtime").setLevel(logging.ERROR) from scapy.all import TCP, IP, ICMP, sniff def ip_callback(pkt): print '--- IP--' pkt.show() print 'IP', pkt.src, pkt.sport, '--->', pkt.dst, pkt

Scapy and MGCP

2015-06-30 Thread Devaki Chokshi (dchokshi)
Hello, As per reply received I have begun to use scapy for MGCP. I started off with reading a .pcap file with MGCP packets. For example: from scapy.all import * from scapy.utils import * from scapy.layers.mgcp import * mgcp_pkts = rdpcap("my-mgcp-capture.pcap") However, r

Re: Scapy and MGCP

2015-06-29 Thread Laura Creighton
In a message of Mon, 29 Jun 2015 20:06:05 -, "Devaki Chokshi (dchokshi)" wr ites: >Hello, > >As per reply received I have begun to use scapy for MGCP. > >I started off with reading a .pcap file with MGCP packets. > >For example: > >from scapy.all impo

Re: Arp cache poisoning using scapy

2013-06-02 Thread bakbakinfo123
On Sunday, June 2, 2013 11:19:46 AM UTC-7, bakbak...@gmail.com wrote: > I am trying to get the arp cache poisoning working with scapy and python but > having problems > > > > The python script itself is very simple: > > root@ubuntu:/home/joker/Downloads/scapy-2.2.0/sc

Re: Arp cache poisoning using scapy

2013-06-02 Thread bakbakinfo123
On Sunday, June 2, 2013 11:19:46 AM UTC-7, bakbak...@gmail.com wrote: > I am trying to get the arp cache poisoning working with scapy and python but > having problems > > > > The python script itself is very simple: > > root@ubuntu:/home/joker/Downloads/scapy-2.2.0/sc

Re: Arp cache poisoning using scapy

2013-06-02 Thread Dan Stromberg
On Sun, Jun 2, 2013 at 11:19 AM, wrote: > > I am trying to get the arp cache poisoning working with scapy and python > but having problems > > The python script itself is very simple: > root@ubuntu:/home/joker/Downloads/scapy-2.2.0/scripts# cat arp_poison.py > #!/usr/bin/

Arp cache poisoning using scapy

2013-06-02 Thread bakbakinfo123
I am trying to get the arp cache poisoning working with scapy and python but having problems The python script itself is very simple: root@ubuntu:/home/joker/Downloads/scapy-2.2.0/scripts# cat arp_poison.py #!/usr/bin/env python import sys from scapy.all import * arpcachepoison("00:22:

Faking TCP Sessions with Scapy

2013-03-22 Thread Jim Mellander
. Is there a library built on top of scapy (or other pcap library) that can generate both parts of this transaction, if I feed in the text to encapsulate? Or am I going to need to craft each packet individually (which shouldn't be a big deal anyway, really)? Thanks in advance --

scapy

2008-08-09 Thread jonbutler88
I have macpython 2.5 installed, but I cant seem to get scapy installed. I have downloaded scapy.py, and put it in site-packages, for both my /Library/Python/2.5/site-packages and the one located in / System. Scapy fails to import. Is there another site-packages? Or a better way to install it? I am

testing scapy installation

2007-07-11 Thread bparkis
I have an installation of scapy on OS X (via macports) and I am trying to determine if it was successful or not. Nothing I do on the network seems to work completely, but on the other hand the installation didn't seem to have run into any trouble so I want to be sure. What test can I

Scapy Port to Windows

2006-06-15 Thread Andrew
Hello Everyone I'm just writing to inform the newsgroup or anyone who is interested. I have some what of a working copy of scapy, ported to Windows, based on the notes provided on the scapy mailing list for reference http://www.secdev.org/projects/scapy/ (scapy windows) for python versi

Program crafting IP packets using Scapy

2005-09-15 Thread laksh
hi there i just used scapy and this http://packetstorm.linuxsecurity.com/papers/general/blackmagic.txt tutorial to write a program which can send DNS requets in an IP and get the response all this is done in PYTHON ANY ONE if can do the same :-)) im ready to pay them if they can give a better

libdnet and python (scapy)

2005-08-16 Thread codecraig
I am interested in using libdnet with Python, how can I go about "installing" it on windows? http://libdnet.sourceforge.net/ Ultimately, I would like to get Scapy (http://www.secdev.org/projects/scapy/) running on windows...currently it is a *nix app written in Python, so I think I