Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error generating shellcode module 'lib.gen' has no attribute #4

Closed
nocomp opened this issue Apr 29, 2020 · 10 comments
Closed

Error generating shellcode module 'lib.gen' has no attribute #4

nocomp opened this issue Apr 29, 2020 · 10 comments

Comments

@nocomp
Copy link

nocomp commented Apr 29, 2020

hi,
thxx a lot for this tool, i wanted to give it a try, and got this script error when launching shellcode generation.
Setup had no issues:
Enter you choice : bdl1
Traceback (most recent call last):
File "MsfMania.py", line 417, in
SHELLCODE += gen.SHELLCODE_GENERATION(ARCHITECTURE, PAYLOAD, LHOST, LPORT)
AttributeError: module 'lib.gen' has no attribute 'SHELLCODE_GENERATION'

hope it ll help

@G1ft3dC0d3
Copy link
Owner

G1ft3dC0d3 commented Apr 29, 2020

I think I found the error, can you re-download the repository and try it again please?

@nocomp
Copy link
Author

nocomp commented Apr 29, 2020

hi @G1ft3dC0d3
thx for your response, i ll try tomorrow cause computer is at work, and i ll tell you here if it worked or not
thx for your time

@G1ft3dC0d3
Copy link
Owner

G1ft3dC0d3 commented Apr 29, 2020

np, thanks to you !

@nocomp
Copy link
Author

nocomp commented Apr 30, 2020

hi,
so i ve retried, this is what i ve did

git pull
python3 setup.py
nocomp@kali:/tools/evasion/MsfMania$ sudo python3 MsfMania.py
[sudo] Mot de passe de nocomp :
Traceback (most recent call last):
File "MsfMania.py", line 1, in
from lib import evasion, body, compiler, compression, core, decoy, gen, metascript
File "/home/nocomp/tools/evasion/MsfMania/lib/evasion.py", line 87
EVASION += "int count_0 = 0;
^
SyntaxError: EOL while scanning string literal
nocomp@kali:
/tools/evasion/MsfMania$

this time, script didn t start at all :/

@G1ft3dC0d3
Copy link
Owner

I think I found the error, can you re-download the repository and try it again please?

@nocomp
Copy link
Author

nocomp commented Apr 30, 2020

hi,
here it is, same issue:

nocomp@kali:/tools/evasion/MsfMania$ git pull
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 0 (delta 0), pack-reused 0
Dépaquetage des objets: 100% (4/4), 1.47 Kio | 301.00 Kio/s, fait.
Depuis https://github.com/G1ft3dC0d3/MsfMania
dc5eab2..66304cd master -> origin/master
Mise à jour dc5eab2..66304cd
Fast-forward
lib/evasion.py | 327 ++++++++++++++++++++++++++++++++++++++------------------------------------------------
1 file changed, 144 insertions(+), 183 deletions(-)
nocomp@kali:
/tools/evasion/MsfMania$ sudo python3 MsfMania.py
[sudo] Mot de passe de nocomp :
Traceback (most recent call last):
File "MsfMania.py", line 1, in
from lib import evasion, body, compiler, compression, core, decoy, gen, metascript
File "/home/nocomp/tools/evasion/MsfMania/lib/gen.py", line 1, in
from lib import core, encryption
ImportError: cannot import name 'encryption' from 'lib' (unknown location)

@G1ft3dC0d3
Copy link
Owner

I think I found the error, can you re-download the repository and try it again please?

@nocomp
Copy link
Author

nocomp commented May 2, 2020

Hi,
Thxx a lot i ll try monday when back to work.
Thxxx

@nocomp
Copy link
Author

nocomp commented May 4, 2020

works like a charm now :)
thxx a lot!

@nocomp nocomp closed this as completed May 4, 2020
@G1ft3dC0d3
Copy link
Owner

Thank you very much, you're the one who's helping me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants