jondonym / peinjector Goto Github PK
View Code? Open in Web Editor NEWpeinjector - MITM PE file infector
License: The Unlicense
peinjector - MITM PE file infector
License: The Unlicense
Hi,
im using kali 1.9 facing peinjector-control issue while starting the gui on port 3333. the port doesn't listen up,
so i check the error at /var/log/peinjector-control/control.err ( and found this error )
root@kali:~/Desktop/peinjector/pe-injector-control# tail -f /var/log/peinjector-control/control.err
import ServerHandler
File "/etc/peinjector-control/ServerHandler.py", line 10, in
import ipaddress
ImportError: No module named ipaddress
Traceback (most recent call last):
File "./peinjector_control.py", line 10, in
import ServerHandler
File "/etc/peinjector-control/ServerHandler.py", line 10, in
import ipaddress
ImportError: No module named ipaddress
i have tried installing ipaddress using pip install ipaddress.but still it says ImportError: No module named ipaddress.
Although this scripts works fine in kali linix 2.0 but i want to work on kali old version, so is their is any way i can fix it on kali linux 1.x version ?
The URL (peinjector.eu) in the GUI is unavailable.
./peinjector-control_install.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version.
python3 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
./peinjector-control_install.sh: 16: ./peinjector-control_install.sh: 0: not found
Start peinjector-control server
No module named libmproxy
probably something changed in the mitmproxy software..
interceptor.err:
Traceback (most recent call last):
File "./peinjector_interceptor.py", line 11, in
from libmproxy import controller, proxy
ImportError: No module named libmproxy
Traceback (most recent call last):
File "./peinjector_interceptor.py", line 11, in
from libmproxy import controller, proxy
ImportError: No module named libmproxy
Hi,
how can I run PE interceptor on an interface, say eth0, wlan0 etc?
Thanks.
I started looking at your code, you have a lot of calls to memcpy on user controlled input, with a MITM tool this is something that is not optimal.
For example, giving the peinjector --info file
a go with AFL yields the following:
Might I suggest you pass this through AFL?
Also, I'm doing the same with BDF though being in python the results aren't as critical (no RCE).
Would you like to add more error handling for return values from functions like the following?
I installed it on Debian Wheezy, when I want to start peinjector-control I get this error:
Traceback (most recent call last):
File "./peinjector_control.py", line 101, in <module>
run_https_server(cert=args.cert, ip=args.ip, port=args.port, usessl=args.ssl)
File "./peinjector_control.py", line 41, in run_https_server
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) # create SSLContext with only TLS 1.2
AttributeError: 'module' object has no attribute 'PROTOCOL_TLSv1_2'
Traceback (most recent call last):
File "./peinjector_control.py", line 101, in <module>
run_https_server(cert=args.cert, ip=args.ip, port=args.port, usessl=args.ssl)
File "./peinjector_control.py", line 41, in run_https_server
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) # create SSLContext with only TLS 1.2
AttributeError: 'module' object has no attribute 'PROTOCOL_TLSv1_2'
What to do there?
I would like to point out that identifiers like "_PEINFECT_METHOD
" and "_PECONFIG
" do not fit to the expected naming convention of the C language standard.
Would you like to adjust your selection for unique names?
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.