Results 1 to 2 of 2

Thread: scapy -scripting problems

  1. #1
    Just burned his ISO
    Join Date
    Nov 2009
    Posts
    1

    Question scapy -scripting problems

    here's my problem:

    I'm using Ubuntu 9.10 with python2.5 and the latest version of Scapy..
    If i start Scapy on the Terminal it works fine.
    But trying to write a very easy script with python doesn't work:

    from scapy import *
    i = IP()

    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    NameError: name 'IP' is not defined

    Do i have to manipulate any PATH var or something like that?
    Would be nice if anybody could tell me whats the problem with this script or which steps i have to take before being able to script importing scapy?

  2. #2
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Dextor welcome the Remote-Exploit Forums where we support Back Track and not ubuntu. Also your posts as a new member are moderated so that is why they do not appear ( so your other one has been deleted), instantly. These and a few other rules are ones you agreed to abide by so please do.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •