devoinc / pcraft Goto Github PK
View Code? Open in Web Editor NEWpCraft is a PCAP Crafter, which creates a PCAP from an AMI scenario.
License: MIT License
pCraft is a PCAP Crafter, which creates a PCAP from an AMI scenario.
License: MIT License
if you try to generate a raw tcp stream, using the tracker, than there is an off by one created by the special needs for SYN and FIN flags.
class: Session
file: pcraft/Sessionizer.py
I will upload a patch soon
Currently if the log output folder exists pcraft will either fail (no flag provided) or clobber the directory (-f flag provided).
To facilitate generating logs at volume (or generating a scenario) having a "-a" flag to allow appending to existing output log files would be beneficial.
Would it possible to add an existing pcap in a scenario? The idea is to write a scenario with a lot of traffics and you have already a specific crafted pcap. The inserted pcap would be with the same timestamp of the scenario. I suppose PcapImport
would do the job but just wondering if the timestamp are modified accordingly the scenario.
Problem: In a 100-line wordlist, this indexes lines 1 though 100. It should index 0 through 99. As written, when 100 is chosen, the function fails.
Recommended fix:
word1_idx = random.randint(0,len(words)-1)
word2_idx = random.randint(0,len(words)-1)
field["var"] is confusing with $var; As we sometimes need a variable that contains a space, it could be a better idea to have variables made this way:
$"var with space"
this would avoid having to use the keyword field["var with space"]
When we lookup over the ip.cidr function we can have 0 and 255 suffix. Let's have an option to avoid this.
I was wondering what's the branch to use for building pCraft main or ami2? and if there is an install documentation somewhere.
I could build ami but after installing the following requirements:
and the install of the Python package seems not possible with pip3. It would be super cool to have a small documentation for the installation process.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.