0x00string / oldays Goto Github PK
View Code? Open in Web Editor NEWpublic exploits
public exploits
Hi,
Trying to use this script, but I don`t seem to find in which module the udpsock function is defined, its not in socket, nor any other imported modules int he script, nor defined in the script itself. When trying to run the script it fails.
Traceback is this:
File "cups-exploit.py", line 528, in
main()
File "cups-exploit.py", line 508, in main
printer = locatePrinters(rhost, rport)
File "cups-exploit.py", line 138, in locatePrinters
response = txrx(rhost, int(rport), "udp", request)
File "cups-exploit.py", line 124, in txrx
sock = udpsock()
NameError: global name 'udpsock' is not defined
https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py#L232
There should be blah2 = txrx(rhost,rport,"tcp",sendJobRequest)
instead of blah2 = txrx("172.20.32.3",631,"tcp",sendJobRequest)
Hello, first thanks for your great work!
I have a quick question regarding the .so payload this exploit is expecting, if I create a normal txt file with the name exploit.so and the content is:
#!/bin/bash
<reverse shell here>
will that work? or I need to create an actual .so payload using msfvenom?
Thank you!
Hi, I tried you exploit for CUPS but when I try to run it I got an error:
python cups.py -a 141.250.25.12 -b 3334 -c /tmp/x86reverseshell.so
[*] locate available printer
Traceback (most recent call last):
File "cups.py", line 523, in
main()
File "cups.py", line 503, in main
printer = locatePrinters(rhost, rport)
File "cups.py", line 146, in locatePrinters
return printer
UnboundLocalError: local variable 'printer' referenced before assignment
I never heard about .so payload. How can I create an .so reverse shell? I also suggest to include an example .so file.
Hi, I tried you exploit for CUPS but when I try to run it I got an error:
python exp.py -a example.com -b 631 -c ./so.so
Traceback (most recent call last):
File "exp.py", line 527, in <module>
main()
File "exp.py", line 516, in main
jobid = seedTarget(rhost, rport, printer, payload)
File "exp.py", line 220, in seedTarget
"\x03"+
UnboundLocalError: local variable 'jobid' referenced before assignment
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.