Python Forum
run scapy from python script ..
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
run scapy from python script ..
#9
(Sep-11-2018, 12:23 PM)ichabod801 Wrote: What happens if you just try import scapy.

got this error :
Error:
Traceback (most recent call last): File "/root/Desktop/scapy.py", line 1, in <module> import scapy File "/root/Desktop/scapy.py", line 4, in <module> ans, unans = srp(Ether(dst="ff:ff:ff:ff:ff:ff")/ARP(pdst="192.168.20.0/24"),timeout=2) NameError: name 'srp' is not defined
Reply


Messages In This Thread
run scapy from python script .. - by evilcode1 - Sep-09-2018, 08:32 AM
RE: run scapy from python script .. - by ichabod801 - Sep-09-2018, 12:42 PM
RE: run scapy from python script .. - by evilcode1 - Sep-10-2018, 08:24 AM
RE: run scapy from python script .. - by ichabod801 - Sep-10-2018, 01:08 PM
RE: run scapy from python script .. - by evilcode1 - Sep-10-2018, 04:50 PM
RE: run scapy from python script .. - by ichabod801 - Sep-10-2018, 05:28 PM
RE: run scapy from python script .. - by evilcode1 - Sep-11-2018, 09:16 AM
RE: run scapy from python script .. - by ichabod801 - Sep-11-2018, 12:23 PM
RE: run scapy from python script .. - by evilcode1 - Sep-12-2018, 07:54 AM
RE: run scapy from python script .. - by buran - Sep-12-2018, 08:11 AM
RE: run scapy from python script .. - by evilcode1 - Sep-12-2018, 10:24 AM
RE: run scapy from python script .. - by ichabod801 - Sep-12-2018, 04:54 PM
RE: run scapy from python script .. - by evilcode1 - Sep-12-2018, 07:45 PM
RE: run scapy from python script .. - by ichabod801 - Sep-13-2018, 01:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 3,464 Jun-29-2023, 11:57 AM
Last Post: gologica
  Permission issue when using scapy jao 3 10,179 Feb-05-2022, 06:14 PM
Last Post: snippsat
  error in scapy attribute 'haslayer' evilcode1 5 6,648 Mar-02-2021, 11:19 AM
Last Post: evilcode1
  How to kill a bash script running as root from a python script? jc_lafleur 4 6,017 Jun-26-2020, 10:50 PM
Last Post: jc_lafleur
  crontab on RHEL7 not calling python script wrapped in shell script benthomson 1 2,358 May-28-2020, 05:27 PM
Last Post: micseydel
  Package python script which has different libraries as a single executable or script tej7gandhi 1 2,664 May-11-2019, 08:12 PM
Last Post: keames
  Help Importing Protocol Library Into Scapy joedirgy 0 2,098 May-02-2019, 07:31 PM
Last Post: joedirgy
  How to run python script which has dependent python script in another folder? PrateekG 1 3,202 May-23-2018, 04:50 PM
Last Post: snippsat
  How to call one python script and use its output in another python script lravikumarvsp 3 32,503 May-16-2018, 02:08 AM
Last Post: lravikumarvsp
  save the output from scapy to txt file evilcode1 11 10,993 Oct-10-2017, 02:44 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020