Giter Site home page Giter Site logo

oldays's People

Contributors

0x00string avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

oldays's Issues

NameError: global name 'udpsock' is not defined

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

.so payload question

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!

CVE-2015-1158 bug on locating available printers

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

.so payload

I never heard about .so payload. How can I create an .so reverse shell? I also suggest to include an example .so file.

error in seedTarget method

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.