I would like to know how can i import custom payloads to Metasploit
Forum Thread: Importing Custom Payloads to Metapsloit
- Hot
- Active
-
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
2 days ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
3 wks ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
3 wks ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
2 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
2 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
2 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
3 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
3 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
3 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
4 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
4 mo ago -
Forum Thread: How to Run and Install Kali Linux on a Chromebook 18 Replies
5 mo ago -
Forum Thread: How to Find Admin Panel Page of a Website? 13 Replies
6 mo ago -
Forum Thread: can i run kali lenux in windows 10 without reboting my computer 4 Replies
6 mo ago -
Forum Thread: How to Hack School Website 11 Replies
6 mo ago -
Forum Thread: Make a Phishing Page for Harvesting Credentials Yourself 8 Replies
6 mo ago -
Forum Thread: Creating an Completely Undetectable Executable in Under 15 Minutes! 38 Replies
7 mo ago -
Forum Thread: Hacking with Ip Only Part [1] { by : Mohamed Ahmed } 5 Replies
8 mo ago
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
Tutorial: Create Wordlists with Crunch
-
How To: Dox Anyone
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Check if Your Wireless Network Adapter Supports Monitor Mode & Packet Injection
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
How To: Get Root with Metasploit's Local Exploit Suggester
-
How To: Hack 5 GHz Wi-Fi Networks with an Alfa Wi-Fi Adapter
-
How To: Escape Restricted Shell Environments on Linux
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How to Hack Wi-Fi: Stealing Wi-Fi Passwords with an Evil Twin Attack
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
-
How To: Brute-Force FTP Credentials & Get Server Access
-
How To: Make Your Own Bad USB
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Use Ettercap to Intercept Passwords with ARP Spoofing
-
Hack Like a Pro: How to Find Directories in Websites Using DirBuster
-
How To: Find Passwords in Exposed Log Files with Google Dorks
9 Responses
I got this android meterpreter reversetcpdns payload and i want to to import it to metasploit, it was a .rb file and i put it in /usr/share/metasploit-framework/modules/payloads/stagers/android but it didnt work and metasploit didnt even start so some help is appreciated
i also now tried to use another path which is /.msf4/modules/payloads/android/meterpreter/ and placed the file there but when i try reloadall i get this
Error while running command set: No such file or directory @ rbsysopen - /usr/share/metasploit-framework/data/android/apk/classes.dex
Call stack:
/root/.msf4/modules/payloads/android/meterpreter/reversetcpdns.rb:36:in `read'
/root/.msf4/modules/payloads/android/meterpreter/reversetcpdns.rb:36:in `generatejar'
/usr/share/metasploit-framework/lib/msf/core/payload/dalvik.rb:27:in `generate'
/usr/share/metasploit-framework/lib/msf/core/payload.rb:199:in `size'
/usr/share/metasploit-framework/lib/msf/core/payloadset.rb:158:in `block (2 levels) in recalculate'
/usr/share/metasploit-framework/lib/msf/core/payloadset.rb:102:in `eachpair'
/usr/share/metasploit-framework/lib/msf/core/payloadset.rb:102:in `block in recalculate'
/usr/share/metasploit-framework/lib/msf/core/payloadset.rb:98:in `eachpair'
/usr/share/metasploit-framework/lib/msf/core/payloadset.rb:98:in `recalculate'
/usr/share/metasploit-framework/lib/msf/core/moduleset.rb:47:in `create'
/usr/share/metasploit-framework/lib/msf/core/moduleset.rb:174:in `valid?'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:572:in `onvariableset'
/usr/share/metasploit-framework/lib/msf/ui/console/commanddispatcher/core.rb:2079:in `cmdset'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatchershell.rb:427:in `runcommand'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatchershell.rb:389:in `block in runsingle'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatchershell.rb:383:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatchershell.rb:383:in `runsingle'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:203:in `run'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:48:in `<main>'
I have an article on this in the metasploit series.
can you link it please? i would get lost in your articles xD
and its a payload not an exploit
you have to first create all those directories separately by using mkdir if its not there already
can you be more specific please? i really need this
Read this article oninstalling new modules in Metasploit.
Please note that there is a search function at the top of the page to find articles.
i exavtly did that with the android meterpreter reversetcpdns and i got this error when ever i try to load it
Error while running command set: No such file or directory @ rbsysopen - /usr/share/metasploit-framework/data/android/apk/classes.dex
Call stack:
/root/.msf4/modules/payloads/android/meterpreter/reversetcpdns.rb:36:in `read'
/root/.msf4/modules/payloads/android/meterpreter/reversetcpdns.rb:36:in `generatejar'
/usr/share/metasploit-framework/lib/msf/core/payload/dalvik.rb:27:in `generate'
/usr/share/metasploit-framework/lib/msf/core/payload.rb:199:in `size'
/usr/share/metasploit-framework/lib/msf/core/payloadset.rb:158:in `block (2 levels) in recalculate'
/usr/share/metasploit-framework/lib/msf/core/payloadset.rb:102:in `eachpair'
/usr/share/metasploit-framework/lib/msf/core/payloadset.rb:102:in `block in recalculate'
/usr/share/metasploit-framework/lib/msf/core/payloadset.rb:98:in `eachpair'
/usr/share/metasploit-framework/lib/msf/core/payloadset.rb:98:in `recalculate'
/usr/share/metasploit-framework/lib/msf/core/moduleset.rb:47:in `create'
/usr/share/metasploit-framework/lib/msf/core/moduleset.rb:174:in `valid?'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:572:in `onvariableset'
/usr/share/metasploit-framework/lib/msf/ui/console/commanddispatcher/core.rb:2079:in `cmdset'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatchershell.rb:427:in `runcommand'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatchershell.rb:389:in `block in runsingle'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatchershell.rb:383:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatchershell.rb:383:in `runsingle'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:203:in `run'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:48:in `<main>'
Share Your Thoughts