offensivepython / pinject Goto Github PK
View Code? Open in Web Editor NEWRaw Packet Injection tool
License: MIT License
Raw Packet Injection tool
License: MIT License
Hi,
Somehow , I get this error after running the script -
NameError: global name 'send' is not define
Regards
Hello, i've used the script before, but now every time i try i have this error:
socket.gaierror: [Errno -2] Name or service not known
I have pinject.py already
Thanks since now...
Checksum function does not work for odd-sized data. Here is the one I use:
def checksum(data):
s = 0
n = len(data) % 2
if n:
data = data + '\0'
for i in range(0, len(data)-n, 2):
s+= ord(data[i]) + (ord(data[i+1]) << 8)
while (s >> 16):
print("s >> 16: ", s >> 16)
s = (s & 0xFFFF) + (s >> 16)
print("sum:", s)
s = ~s & 0xffff
return s
找了半天,根本没一个能用的,不如自己用scapy写
I notice that you add pseudo header fields before check sum .
Why need to do this?
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.