Learn how to convert your Python code to run as an EXE on Windows 11. The code will run on Windows without Python installed. So, you think you need Python installed to run Python code on Windows 11? Well, think again. You also think that Windows 11 real time protection will protect you against malicious code? Well think again! Warning: Don't download software that you don't trust. Only download software from reputable software developers and those you trust. // MENU // 0:00 ▶ Introduction: Warning 2:03 ▶ Windows 11 setup: Python not installed, Windows version, anti-virus 3:12 ▶ Demo of python code running on Windows 11: 5:42 ▶ Demo of WiFi code 6:47 ▶ Nuitka installation steps 10:27 ▶ Compile Python code 13:52 ▶ Run compiled code on Windows 11 14:25 ▶ Be aware of Python requirements that you need to install // SCRIPTS // Python key: davidbombal.wiki/pythonkeys Python WiFi: davidbombal.wiki/pythonwifi // PDF Instructions// Download here: davidbombal.wiki/pythoncompile // SOCIAL // Discord: discord.com/invite/usKSyzb Twitter: twitter.com/davidbombal Instagram: instagram.com/davidbombal LinkedIn: www.linkedin.com/in/davidbombal Facebook: facebook.com/davidbombal.co TikTok: tiktok.com/@davidbombal KZbin: kzbin.info // SPONSORS // Interested in sponsoring my videos? Reach out to my team here: sponsors@davidbombal.com Disclaimer: This video is for educational purposes only. I own all equipment used for this demonstration. No actual attack took place on any websites. Please note that links listed may be affiliate links and provide me with a small percentage/kickback should you use them to purchase any of the items listed or recommended. Thank you for supporting me and this channel!
@rangersmyth3 жыл бұрын
Thank you David for this big eye-opener! Stay safe and keep up the great work.
@jk_tecs3 жыл бұрын
You great Sir, I really wanna know how I can access and operate my laptop virtually like you do using your MAC ((disclaimer:: I don't have any hac5 keylogger))
@davidbombal3 жыл бұрын
I'm using VNC. I demonstrate how in videos on my channel like this: kzbin.info/www/bejne/o3rHd2qBaLOgotk
@jk_tecs3 жыл бұрын
Thanks, Much Just watched it and got what I wanted. Never knew it was so simple!!
@rangersmyth3 жыл бұрын
@@jk_tecs I am trying to get the code to work on linux, but is this code just for windows? As I have a Win10 PC, and did you have to remane the .ps to .wpy? This is actually my first day coding python!
@TheBenJiles2 жыл бұрын
Great stuff. I also found that hex encoding the python keylogging script first before pasting it into a file circumvents Defender's Real-Time Protection. Then just assign a variable to decode the hex to utf-8 string. Then run exec on the variable. It's simple but runs the malicious python without being caught by Defender.
@laaawwrrryyyyyy2 жыл бұрын
care to elaborate? can pm
@vasu5688 Жыл бұрын
I have some doubts can u help me..?
@satyajeetghorpade79753 жыл бұрын
EVERYONE follows "this is only for educational purpose" 🤣🤣
@davidbombal3 жыл бұрын
Yes. Do not get into trouble!
@satyajeetghorpade79753 жыл бұрын
My dignity and my faith in you does not allow me to do malicous works
@jaimerosariojusticia3 жыл бұрын
So if you disable Windows Antivirus, you only stop the Windows intrusiveness on your system. That's why you cannot trust your own "system protection features" . Thanks again, David Bombal, for another great content video. Always learning something new.
@alexdonofrio61403 жыл бұрын
THIS
@davidbombal3 жыл бұрын
Windows Real Time protection stops a lot of nonsense. I wouldn't recommend turning that off.
@alexdonofrio61403 жыл бұрын
@@davidbombal it does but when I'm working with stuff I'm aware is for exploits I don't need AV slowing me down, when I download cracked software from TPB I don't need that headache.
@jcramond733 жыл бұрын
Many thanks David for the very informative episode, it is always appreciated. And G'day from Australia mate :)
@barkerdillinger4927 Жыл бұрын
Great video, building compiled python code was almost more interesting than the code itself. I knew it was possible to compile python code but never had time to research the process. That was a great introduction to a whole new functionality for my python code.
@moosematrix2 жыл бұрын
David this video was quality and I enjoy this type of series you’ve been doing the last few months!!
@sujonalmamun3 жыл бұрын
This is amazing and dangerous at the same time. Thank you so much sir.
@davidbombal3 жыл бұрын
Thank you!
@ImagineIfNot3 жыл бұрын
Back at it again yayyyy! Thanks
@davidbombal3 жыл бұрын
Hope you enjoyed the video Vlad
@ghostofdre3 жыл бұрын
Also a very good reason to use a seperate 2 factor auth. Even with signed code from a trusted developer we are all 1 malicious supply chain attack away from being compromised.
@ed10262 жыл бұрын
By the Python WiFi File i get this error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 76: invalid start byte. Can someone help me please.
@jk_tecs3 жыл бұрын
Here comes my awaited video. I've really been longing to run my first EXE app and this tutorial will come in handy for that. Thanks, much #MyTechnologyTutor
@davidbombal3 жыл бұрын
You're welcome!
@هردمبیل-ت2ش3 жыл бұрын
Thank you David, I am going to test it in my virtual environment and inform the family and friends.
@tpwkpeace50113 жыл бұрын
thank you sir. I was making project on Keyogger and this and your old video helped me a lot.
@davidbombal3 жыл бұрын
Glad it helped!
@nima8483 жыл бұрын
david you are the best i had this compiling problem i couldnt compile my python file (i created a face detector) thank you for the amazing video
@davidbombal3 жыл бұрын
Glad it helped!
@3rawkz3 жыл бұрын
The age of the electron and switch... I really hope that the skiddies of today adopt the white hat mind frame, content such as yours I believe goes a long way to that end.
@davidbombal3 жыл бұрын
Thank you. I hope people will learn to protect companies - as we need that.
@fuhkit74633 жыл бұрын
SKS, OCS, ROM
@hamza77v3 жыл бұрын
Outstanding. Want more stuff like this
@juliusrowe93743 жыл бұрын
Very informative and great content David! I appreciate it!
@davidbombal3 жыл бұрын
Glad you enjoyed it!
@pela29233 жыл бұрын
Was waiting for this video... finally😌🥳
@davidbombal3 жыл бұрын
Hope you enjoy the video!
@OurTechPlanet3 жыл бұрын
Congrats on making it to 800K :) Trying to follow in your footsteps 😀
@sz30663 жыл бұрын
Its a great video !!! Thanks for spending your precious time making this video for us. There's a question actually, is this similar to pyinstaller ?
@davidbombal3 жыл бұрын
Thank you. I found that Windows removes software created with pyinstaller. So, I found that Nuitka is much better in my tests.
@sz30663 жыл бұрын
@@davidbombal much appreciate 🙏🏻
@swatishaw13513 жыл бұрын
Thank you man i really appreciate you did a thing that most people didnt! thx bro i needed this for longg
@davidbombal3 жыл бұрын
Glad you found the video useful!
@wally193 жыл бұрын
Hey David! I love your content. In my humble opinion you don't need to repeat things so many times like "I'm running W11" or "AGAIN, do not use this for malicious purposes, the code is for educational purposes only, so don't use it for something malicious" I Know man, you said that like 5 times, go on... not sure if this is bodering only me or not but I wanted to tell you that. Thanks for sharing!
@lancemarchetti86732 жыл бұрын
Repition is important, because some people are hard of hearing...by choice. Hence, repeat...repeat...repeat.
@daniocampo19923 жыл бұрын
Aah I needed this a lot for some scripts! Thank you good sir!
@chiranjeevinaidu36603 жыл бұрын
Really love your work keep it up sir 😉, ignore the haters and keep going.
@davidbombal3 жыл бұрын
Thank you so much 😀
@educastellini3 жыл бұрын
-Great content Professor David Bombal...!!! -People always ask me what is the best language to learn and I always return the question, "Best language for what...?". -C and C++ are the languages where OSs are usually written and even today code for devices such as IOTs is written in C (devices how run without a OS), as is the case with Arduino, and others. besides many backends and made in C or java. -Python is a scripting language and in the 90s when I learned to program I learned Assembly (Low level machine language) and C++ (which is a high level language), but scripting languages at that time when they emerged were called High High Level why they needed an OS running for them to run on top. -The teacher example uses a module that basically downloads the GCC C compiler and compiles it into the stand alone executable using the Python as source. - Interesting solution this module, the new Raspberry Pi, the Nano if I'm not mistaken, can compile not only from C but from a Python variant for micro devices. -Thank you very much for the knowledge...!!!
@guilherme50943 жыл бұрын
That was awesome, thanks David.
@_v0id3093 жыл бұрын
hear we go again with a amazing video ❤️
@ra.bandar26003 жыл бұрын
This is a spectacular video, I do appreciate your great advice, you are teaching us something we don't know, you are right we must be aware of where we put our steps on.
@davidbombal3 жыл бұрын
Glad it was helpful!
@naufalnoumi85243 жыл бұрын
david, as you mention before, i check the version instalation of nuitka on powershell but nuitka not found and shown this kind of text ( The term 'nuitka' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. ) how to solve this problem? thankyou for your contribution for community
@zxletul2 жыл бұрын
i did same all step by step and still got that error that Nuitka not found.... dang.
@boussaada1972 Жыл бұрын
نتمنى لك مزيد من التميز وشكرا على النصيحة (We wish you more excellence and thank you for the advice)
@arjocelyntanjulio21243 жыл бұрын
hey david im not that expert in to this even knew very little but i do love ur videos..
@manojkothwal35863 жыл бұрын
This is amazing ,wonderful and dangerous at the same time 😳.
@killerx89023 жыл бұрын
Nothing to say. Great as always
@davidbombal3 жыл бұрын
Thank you so much 😀
@idhantsood11053 жыл бұрын
Great video, it's amazing that you are also up to date with the topics of your videos, that is why you made windows 11 as it is new and there are not many courses... Just amazing
@ashraf_dz47693 жыл бұрын
Thank you so much..You are simply the best!
@davidbombal3 жыл бұрын
Thank you! And you're welcome!
@thevault15753 жыл бұрын
hey why is FUD on windows 11 but not windows 10? what did they change about windows defender?
@deadshot49673 жыл бұрын
Very knowledgeable video 📹 👌 .. I have request to tell something about CYBER SECURITY ....
@999Wayno3 жыл бұрын
Another great video! Can you do one on dns poisoning how it works and how we can protect ourselves from it?
@davidbombal3 жыл бұрын
Great suggestion!
@tianot36363 жыл бұрын
Can't wait to hear your thoughts about zero day vulnerability log4j
@vyasG3 жыл бұрын
Thank you for this great video. Highly valuable information. Really appreciate your efforts in creating a detailed document on top of the video and sharing it with us! Question: If this code was compiled for Linux distros/mac OS and run on them, would it be any secure than windows?
@davidbombal3 жыл бұрын
Thank you. Glad it was helpful Vyas. I would have to create specific code for Linux and macOS to test. This code would not work on either of those platforms.
@opekolawole94973 жыл бұрын
This is so much information ,thank you very much for this...
@CARLOSPH363 жыл бұрын
Excelente, contenido de gran calidad. Muchas gracias David.
@davidbombal3 жыл бұрын
Thank you very much!
@lexsaintdry3 жыл бұрын
Terima Kasih Pak David, semoga ilmu anda dapat berguna untuk kami semuanya. 😇🙏🏼
@davidbombal3 жыл бұрын
Thank you
@tojabdhei48813 жыл бұрын
Thanks for this content ❤️
@everetteberhardt56293 жыл бұрын
damn we love you David, Keep this stuff up bud gooddddd warning
@davidbombal3 жыл бұрын
Thank you!
@cravenmoorehead56573 жыл бұрын
David is the mister Rodgers of InFoSec
@Ortiz11303 жыл бұрын
Too crazy. Thank you for this
@davidbombal3 жыл бұрын
You're welcome!
@konradwerner41342 жыл бұрын
As always 👏👏👏👏
@getalife66543 жыл бұрын
Thank you for posting this yt video 😁
@cyberus15 Жыл бұрын
Not saying that it's hard to evade Windows Defender, but why should it flag it in the first place if your scripts aren't sending the data outside? it's a local keylogger and a local wifi passwords revealer.
@friedmule54033 жыл бұрын
The worst about that type of code is that extremely many commercial programs, do use keylogger-code to trigger events and so on, so it is not straight forward to detect a keylogger and then trigger. Even windows itself is using keyloggers to functioning. You do almost have to detect intend of the program:-)
@Jinkle3 жыл бұрын
Thanks for the information bro.
@xavierdubruille3 жыл бұрын
It's also easy (using a tool) to append your malicious executable to an other legit one . So you may think you're launching a real/known program that is working exactly as expected but ... will also execute a malicious code that no one will ever suspect 😱
@davidbombal3 жыл бұрын
Agreed.
@sosekhamed57023 жыл бұрын
I love this 👍🏼 thank you
@davidbombal3 жыл бұрын
You're welcome!
@ali0ghanem3 жыл бұрын
thx Mr.David plz more and more and we need about android and ios thx again you are the best
@davidbombal3 жыл бұрын
You're welcome!
@glen4cindy3 жыл бұрын
I'm really enjoying this video but I'm stuck at installing Nuitka. I'm on Windows 10 if that makes a difference. I am getting this error: "The installer has insufficient privileges to access this directory: C:\Program Files\WindowsApps\...\Scripts. The installation cannot continue. Log on as administrator or contact your system administrator." Run as administrator isn't available. I also tried executing this from an elevated command prompt and received the same error. Can you help? Thanks in advance.
@hotdailymemes51292 жыл бұрын
Thanks for the lesson. Just for educational purposes, can you automate the python keylogger to run on one computer and send the keylogs to another computer. In a way such that you can handle security issues within your network. You can see which specific computer in your network was used to do something. I hope you understand what I'm trying to say
@jonathanmendes15043 жыл бұрын
i have this error on wifi script: command_output = subprocess.run(["netsh", "wlan", "show", "profiles"], capture_output = True).stdout.decode() UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa1 in position 45: invalid start byte
@sergiomancia9479 Жыл бұрын
I cannot get the version of nuitka it shows this: nuitka : The term 'nuitka' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + nuitka --version + ~~~~~~ + CategoryInfo : ObjectNotFound: (nuitka:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@tarrylim7783 жыл бұрын
Wow I like this video, david is there any method download key logger in victim machine but key logger txt store back in attack machine just like a reverse shell reverse back to attack machine?
@rx34433 жыл бұрын
The keylogger is detected by avast or windows defender david
@DCR6003 жыл бұрын
Hey David I am install everything and checking the version in powershell but in power shell it's showing an error
@Memento_Mori93 жыл бұрын
Third to watch love from 🇬🇭 🇬🇭
@ultrainstinct67153 жыл бұрын
Goated as always
@mol.am19993 жыл бұрын
Man Its Just My Brai I Cant Get It, BUT Ur F!_!cking Genius Ya Understood All Of That. Just Wow.
@coding4well3 жыл бұрын
few modules that come with python the antivirus will detect as malware, that includes shutil, ctypes, sys, os, glob...of course is just happen when you convert it to .exe and as single file....David, do you use Pyinstaller?
@davidbombal3 жыл бұрын
In my tests, Windows sees code created with Pyinstaller as malware and removes it. This is why Nuitka was much better in my tests.
@coding4well3 жыл бұрын
@@davidbombal thanks :)
@ashurdawood61913 жыл бұрын
Thank you very much you might have saved life's with this vid
@hel-per83102 жыл бұрын
Hi, very good video! I've a question. I've noticed that the keylogger doesn't log the admin password that is required for installing softwares for example, and that made me feel safe. Now, this is a simple script, so can it be updated to log also these hidden keys or is it not possible? Thanks for answer and i'm sorry for my English that isn't very good 😅
@silvansommer46893 жыл бұрын
Do someone now how I can convert python file into macOS program but whitout py2app?
@numberiforgot3 жыл бұрын
Python truly is the infosec ops professional’s best friend. I have yet to find something it can’t do.
@_v0id3093 жыл бұрын
im having my exams going on nd i have 3 main exams continues your blessings will motivate me a lot sir ☺️🙃🙏
@davidbombal3 жыл бұрын
All the best
@erhanertem1962 жыл бұрын
Did u try Kaspersky in your case. How did it respond as opposed to defender ?
@sledgeHammerRulez3 жыл бұрын
I did the same test (compiled python code) but it was a (lets encrypt) certificate updating program (as an extension to a monitor software) and windows defender suddenly deleted(!) my program. I had to white list is to keep it usable.
@andreyshishkin49583 жыл бұрын
So, all files from the Internet must be run and checked in a virtual machine and only there, not in host OS.
@lufox01483 жыл бұрын
Great vid, clear and usefull
@tigreonice23393 жыл бұрын
@David Bombal Make a video how to protect your cellphone and notebook in case someone stole them. And what to do next if it happens Greetings
@DCR6003 жыл бұрын
The term nuitka is not recognized as the name of a cmdlet, function scri.....
@naufalnoumi85243 жыл бұрын
me too, idk how to solve this problem....
@snowfy_music7 ай бұрын
Hey I am a beginner security analyst I have an executable files as you show is there any to reverse this so we may know about the real attacker
@samlewis20623 жыл бұрын
another great video to watch
@davidbombal3 жыл бұрын
Thank you Sam!
@ujjwalsingh51883 жыл бұрын
I have a question : If any software started it should have access to our keyboard for input and it should also able to store that for further use , but is it possible to send that information to someone else's pc without caught by antivirus ? SORRY FOR BAD ENGLISH 😅
@ForwardEngineering2 жыл бұрын
Is this working with Nuitka 1.2.7 and python 3.11? I know its been a while since this video came out but now commands featuring nuitka do not respond and say it invalid. Nuitka now mentions the earlier releases cannot be directly downloaded but instead need to be installed with 'python -m pip install -U nuitka' at least for windows.
@Synix979 Жыл бұрын
not working sadly
@LeZinZin952 жыл бұрын
it is funny because I made a script in python for task automation at work, I d like my colleagues to be able to use it however the .exe generated with nuitka keeps getting flagged as a Virus... No way for them to use it
@omkar5223 жыл бұрын
Videos great btw I’m just curious about that folder named “zz stuff” which was in downloads folder what’s in that i maybe wrong but zz sound kinky tbh
@polymorphism19663 жыл бұрын
Hi David is your Mac using the latest M1 processor?
@AlphaCfter3 жыл бұрын
David sir.. A question: What if someone develop the same code for a linux distro like the .Deb or .rpm and if I try to execute it, will my distro stop it ? What's your views on it ? Btw Much ❤️ David sir.
@ravineemkarolijoshinainital3 жыл бұрын
No it won't.
@ScratchTuto3 жыл бұрын
i tested my windows deletes it right away dosent even let me to move it or when i try to find it already deleted
@davidbombal3 жыл бұрын
Still works in my tests. Just call the file something else. You have to disable defender when compiling the code.
@ScratchTuto3 жыл бұрын
@@davidbombal oh sry My Bad My files were just python files😂
@khanalimphdpe1722 жыл бұрын
Good video. I have a different question. I created exe file using PyInstaller, it works fine in that computer. If I move that file to other computer regardless of windows or Mac, the exe file is considered as security thread. What I can do to resolve this issue.
@israeldayan46903 жыл бұрын
im so love your conntent 👑
@onepoint23203 жыл бұрын
Is there anything I can do to get more wifi Signal ?
@tigreonice23392 жыл бұрын
If you run the exe file. What you can do to not have the keylogger anymore? Or works only while exe file is open?
@lyricsica3 жыл бұрын
Thanks for everything🙏
@davidbombal3 жыл бұрын
You're welcome 😊
@KulwantSingh-xr4si3 жыл бұрын
Why jump between Powershell and CMD? Don't the perform the same task?
@Nobody-tg2xr3 жыл бұрын
I once wrote a french input method, just used the same function as you are using right now. Same tech has different use.
@davidbombal3 жыл бұрын
Agreed. Not all code is malicious. Just depends how it is used.
@yogitaraut41073 жыл бұрын
Yah I gave you the 74th like Next time I will be the first to do so
@davidbombal3 жыл бұрын
Thank you for watching my videos :)
@christopherwilson67243 жыл бұрын
Where do your ideas come from? You hear about it or just wonder what would happen if I compiled a keylogger?
@lordcodigo Жыл бұрын
I just have executed the python code and converted to Exe file and surprise surprise! ... it is not detected by Windows 11 Defender nor McAfee LiveSafe (all updated!).
@lordcodigo Жыл бұрын
I really love your channel, regards from México
@RainbowSheep_was_taken3 жыл бұрын
i literally have exams and i havent studied, just watching youtube. probably gonna regret this
@davidbombal3 жыл бұрын
Go and study!
@RainbowSheep_was_taken3 жыл бұрын
@@davidbombal i just started, thanks for the motivation
@khalilsworld82663 жыл бұрын
can the key logger that actually receives data from the target be only ran on Linux? Or can it be ran on windows as well
@sufianiskandar35863 жыл бұрын
how does the keylogger work remotely if we want to use it practically though?