Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

coding proper exicuteable python programs, possible?

👍🤝😶Hi guys.

i couldn't find legit answer or source for what i llook for, so probabely you may know it better than i, i got 2 questions:

1. you know normally there is no such thing called compiling with python, but it's possible to make it exicutable with with some solutions such as cx freez or probaely with cython which i m totally clueless.

how ever my question is since don't know how healthy doing exe files with cxf is there better way to do it? and making smaller files? keep in mind that i m in the learning process of python, so i will be thankful if i can suggest me some tutorials/sources/links about it.

2. can you almost do anything you can do with low level programing languages by using python? i mean advanced botnets, cryptors, rats etc?


and last one more thing, making pythond payloads fully fud/crypted, could be?

thanks
1* You cant make small executables, python not product any real executable file(just imitate them).They are just built-in interpreters with all necessary files.

2* If you want something really advanced then no.

3* This is not about language.Any language that can process data types and I/O can do that, i guess.
In theory, it's possible, but Python has some things like metaclasses that make it really difficult to compile it as if it were a statically typed language... The CPython compiler doesn't compile to machine code, but rather to Python Bytecode (.pyc file) and the interpreter is in charge of sending 'commands' to the machine from the bytecode. It's not JIT compilation (unlike PyPy), but it does allow for completely dynamic typing.

You can, however, package a Python interpreter for the target system along with the Python source/bytecode. This is done with PyInstaller or similar.
SRPP Discord Server

I am a professional network/cloud security architect.
My Old Tutorials
(Dec 18, 2016 05:16 PM)BambarbiaKirgudu Wrote:  👍🤝😶Hi guys.

i couldn't find legit answer or source for what i llook for, so probabely you may know it better than i, i got 2 questions:

1. you know normally there is no such thing called compiling with python, but it's possible to make it exicutable with with some solutions such as cx freez or probaely with cython which i m totally clueless.

how ever my question is since don't know how healthy doing exe files with cxf is there better way to do it? and making smaller files? keep in mind that i m in the learning process of python, so i will be thankful if i can suggest me some tutorials/sources/links about it.

2. can you almost do anything you can do with low level programing languages by using python? i mean advanced botnets, cryptors, rats etc?


and last one more thing, making pythond payloads fully fud/crypted, could be?

thanks
Hey, there is a program called PyInstaller its easy and simple to use. To install "pip install Pyinstaller". The minimum size of your program is going to be about 3mb, because the python.dll has to be present in order for your exe to run.

You can do anything in python that you can do in c using the Ctypes lib. Its not recommended you use python for botnets and rats due to the size of the exe, But it is possible. There are many things you can do to be more discrete and bypass AV with python, you are just going to have to do some research on different approaches.
python ISNOT for maleware !
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
(Dec 19, 2016 03:33 PM)HFDone Wrote:  python ISNOT for maleware !

No programming language is for malware, doesn't stop it from happening.
(Dec 19, 2016 07:41 PM)h0lyl337 Wrote:  No programming language is for malware, doesn't stop it from happening.

Rephrased. Malware design shouldn't be done in Python. It should be done in a lower level language.
SRPP Discord Server

I am a professional network/cloud security architect.
My Old Tutorials
what language would you advice me to learn? starting code something average? i don't mean malware in a short time ofcourse, i mean i m a webmaster who is in to blackhat, doing things like faster installlation of multypal sites/ sscripts/scraping/sentencee/code batching and maybe jenerating some html hub pages etc, these are examples, but not llimited to.

and then i i can go, deeper, i mean here from low level languages, otherwise i can make guesses on possible two answers :)

i m open to people's suggestions who are way inteligent than me in a subject though.

(Dec 19, 2016 11:59 PM)Goodies Wrote:  Rephrased. Malware design shouldn't be done in Python. It should be done in a lower level language.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 632 Aug 20, 2023 01:44 AM
Last Post: Lucky4L
[Python] by sid123Jun 20, 2022 11:31 AM 3 171 Jun 20, 2022 11:31 AM
Last Post: dinosaur770
[Python] by SigmaMay 2, 2021 02:13 PM 2 140 May 2, 2021 02:13 PM
Last Post: Ap3xDC