Giter Site home page Giter Site logo

nxcrypt's Issues

not an issue just a question.

don't you think it's a bit ironic that the script you use to crypt your python "backdoor" is written in python, :P

encoding problems

Good job for your script, but I encountered an issue. After crypting, and when I open the crypted program, it raises: File "myscript.py", line 1 SyntaxError: Non-UTF-8 code starting with '\xf3' in file myscript.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

but it raises an invalid syntax. Where am I wrong?

have an error

hello,

i'm trying this tool but i have this problem :
Sorry: TypeError: compile() expected string without null bytes

someone already have this ?

thanks

Error when I try to compile it to .exe

Hello,
My Question is very simple, I try many times to convert a output file to .exe with pyinstaller or py2exe but... I have some errors : File "/usr/local/lib/python3.8/dist-packages/PyInstaller/building/build_main.py", line 413, in assemble
priority_scripts.append(self.graph.run_script(script))
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/depend/analysis.py", line 301, in run_script
self._top_script_node = super(PyiModuleGraph, self).run_script(
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1390, in run_script
contents = fp.read() + '\n'
File "/usr/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 1: invalid continuation byte

I think the junkcode injected by the NXCrypt cause some issues.
The other solution I have see is to use an older version of Python but I need ur help and ur opinion about that

can't work

thank u for your excellent job!
but i just got big problem, i can't get it work.

(python27) H:>python try.py
RuntimeError: Bad code object in .pyc file

python3
:>python try.py
File "try.py", line 1
yntaxError: Non-UTF-8 code starting with '\xf3' in file try.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for
details

Invalid Syntax Errors

Hey,

For some odd reason, when I attempt to encode a simple payload from msfvenom thats encoded in base64, your program gives me an invalid syntax error.

HERE IS WHAT I TYPED AND THE CONSOLE LOG:

root@kali:~/NXcrypt# python NXcrypt.py -f /root/Desktop/hack.py -o /root/Desktop/meme.py

d8b db db db .o88b. d8888b. db db d8888b. d888888b
888o 88 8b d8' d8P Y8 88 8D 8b d8' 88 8D ~~88~~' 88V8o 88 8bd8' 8P 88oobY' 8bd8' 88oodD' 88 88 V8o88 .dPYb. 8b 888b 88 88~~~ 88
88 V888 .8P Y8. Y8b d8 88 88. 88 88 88 VP V8P YP YP Y88P' 88 YD YP 88 YP
(python backdoor framework)

                                    Version 3.0
                                    Codename 'WannaLaugh'

| |
| -NXcrypt functionnalities |
| - 'python backdoor' encryption |
| - backdooring python file with |
| a malicious python file |
| |
| -Author: Hadi Mene (H4d3s) |
| -Credits : Suspicious Shell Activity |
| |
| -Contact author : |
| [FB] Hadi Mene |

[] file : /root/Desktop/hack.py
[
] output : /root/Desktop/meme.py
File "/root/Desktop/hack.py", line 155
import base64,sys;exec(base64.b64decode({2:str,3:lambda b:bytes(b,'UTF-8')}sys.version_info[0]))'''
336587808984273498574665837487263779940712556927722630653884443978452777417557566133871931378167257513017085137602310533832485458142665662166233598628650889212388840672414977636540853710126535877832326737596722984492367485977857301352190477816471192271867726885406071854331465395143923863647211959857828321954558666066271810493923040707014026920703896104481628476928745875003691325885922924729343025454863744065836395017289622762682264666914312993758792936067132230465189185638810903786923745446152947429893850460792080916041140613226972182584434480044406862273232457518750318403172443016479288675039403064892036532634313953307919564467264426210547715455427964218464372850391907020410613797811470938616562677053656675906977623133947589140707931938181112352092811572245508062055287316146557959232536327939602361203269054725286755140774794329930057250530286265888261034468086082567856374914208767338989627490212946044534155109196125880629452744410697625554616408292117599911354332332707715594884020452715498537610303042442264335456430179722285266900876389660708666607031359083418815627746180172145078218276470341549303250636833612316473694530728442195555349588730209190909978492232195580960337476324272887124514832816193784251161794640599312958215294255821604563436720562474603846793328782798600410158347435690366449480426924474611740037576915657882378612829863611231307300711282187997877302026979158644049377647996777945508743866805809899875345043283933918916179711073566810122445501504132909125509616989757277849611103907258132417270687196661950790793353616351725137553583002062531651138347872561943412639158072095147064064081415817152704086465539670273444857
''

^
SyntaxError: invalid syntax

mv: cannot stat '/root/Desktop/meme.pyc': No such file or directory
[+] encryption finished
[*] file : /root/Desktop/meme.py
`

Dear Sir

Please don't upload to fuck'en virustotal thanks:)

This requires 'root'... why exactly?

So, Hadi, why exactly does this script of yours require root permissions to run? I skimmed through it and see no function that would require higher privileges than a simple user.

Care to comment on this?

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.