Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46725

Re: Arp cache poisoning using scapy

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <drsalists@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.017
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'cache': 0.07; 'sys': 0.07; 'subject:using': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '11:19': 0.16; 'cc:name:python list': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'trying': 0.19; 'import': 0.22; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'error': 0.23; 'looks': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'getting': 0.31; 'mac': 0.33; 'skip:# 10': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'two': 0.37; 'problems': 0.38; 'skip:& 20': 0.39; 'itself': 0.39; 'address.': 0.39; 'how': 0.40; 'skip:a 30': 0.61; 'to:addr:gmail.com': 0.65; 'skip:a 40': 0.72; 'poisoning': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Me7LpAhR2+hVXXYkIofBeX+22NVTkfmrfAgTgXuj+dk=; b=HLJD2g9XUff20Qu+0EP8eizE0PvH7wBosSv6JVwThL3qrx2tz6MeIvuMbQ4xLbplX9 wCLEfCrRMdIKStfG4ESsOxVI/2Oq37ttiPMYZuaZOx9BMb2Vt/xT8OxkviynTADt5q/G DrHnOc3cp4v8XphsiKmN3d+BUEivnmfn1Z2vOB4EuEop4wzZk9F6JGdm2j3sJzS6Lv4Y LOJKeKZjLOuKiM7IznubznVItRIjTx9HwgMMIXfD5192cJQg4V2qMSP/S4Pb34OHdfZU PZtdgBFrSkn9l7xMbC/8yVGLi4Vk6zhRMYjJAVGodrYuR2dtbH3Xtqgaszn21SqRoK9p LTWw==
MIME-Version 1.0
X-Received by 10.49.39.68 with SMTP id n4mr18182883qek.44.1370200585676; Sun, 02 Jun 2013 12:16:25 -0700 (PDT)
In-Reply-To <609f0450-4ab7-4489-87c6-5926bb09d1fd@googlegroups.com>
References <609f0450-4ab7-4489-87c6-5926bb09d1fd@googlegroups.com>
Date Sun, 2 Jun 2013 12:16:25 -0700
Subject Re: Arp cache poisoning using scapy
From Dan Stromberg <drsalists@gmail.com>
To bakbakinfo123@gmail.com
Content-Type multipart/alternative; boundary=047d7bd769342e48bf04de30afb0
Cc Python List <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2557.1370200593.3114.python-list@python.org> (permalink)
Lines 57
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1370200593 news.xs4all.nl 15928 [2001:888:2000:d::a6]:45652
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:46725

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, Jun 2, 2013 at 11:19 AM, <bakbakinfo123@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/scripts# cat arp_poison.py
> #!/usr/bin/env python
>
> import sys
>
> from scapy.all import *
>
> arpcachepoison("00:22:fa:98:5e:04", "192.168.1.131")
>
> The error I am getting is illegal IP address. How do I fix it?
>

It looks to me like arpcachepoison wants two IP's,  not a MAC and an IP.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Arp cache poisoning using scapy bakbakinfo123@gmail.com - 2013-06-02 11:19 -0700
  Re: Arp cache poisoning using scapy Dan Stromberg <drsalists@gmail.com> - 2013-06-02 12:16 -0700
  Re: Arp cache poisoning using scapy bakbakinfo123@gmail.com - 2013-06-02 13:46 -0700
  Re: Arp cache poisoning using scapy bakbakinfo123@gmail.com - 2013-06-02 13:47 -0700

csiph-web