Giter Site home page Giter Site logo

Cannot generate shellcode about peda HOT 4 CLOSED

longld avatar longld commented on August 29, 2024
Cannot generate shellcode

from peda.

Comments (4)

longld avatar longld commented on August 29, 2024

Can you try to enable debug option to see what error is?

gdb-peda$ pset option debug on
gdb-peda$ shellcode generate x86/linux exec

from peda.

BrieflyX avatar BrieflyX commented on August 29, 2024

Ok, here is the output

gdb-peda$ pset option debug on
debug = 'on'

gdb-peda$ shellcode generate x86/linux exec
Exception: too many values to unpack
Traceback (most recent call last):
  File "~/peda/peda.py", line 5983, in invoke
  File "~/peda/peda.py", line 5725, in shellcode
ValueError: too many values to unpack
Generate or download common shellcodes.
Usage:
    shellcode generate [arch/]platform type [port] [host]
    shellcode search keyword (use % for any character wildcard)
    shellcode display shellcodeId (shellcodeId as appears in search results)

    For generate option:
        default port for bindport shellcode: 16706 (0x4142)
        default host/port for connect back shellcode: 127.127.127.127/16706
        supported arch: x86

from peda.

longld avatar longld commented on August 29, 2024

I cannot reproduce this with latest code, pull your copy and try again :)

from peda.

BrieflyX avatar BrieflyX commented on August 29, 2024

OK, it worked! Thank you.

from peda.

Related Issues (20)

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.