Files
general-scripts-and-system-…/customscripts/Errata-Oneliners.md
T
2026-05-28 01:27:06 -06:00

20 lines
861 B
Markdown

# Errata-Oneliners
leave self a warning not to fuck with shit
```bash
clear && echo -e "\n\n\n\n\n\n\n\n\n\n\n\n\n\e[32mFOOOKN 1TB DUMP IN PROGRESS DONT FUCK WITH ANYTHNG\e[0m\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
```
watch file growth based on partial names
```bash
file_tag=Kali-Pi5-Full-Configured-Working-1TB && dump_pid=1717053 && watch -n 300 "echo -e '\n\n\n\e[32mFOOOKN 1TB DUMP IN PROGRESS DONT FUCK WITH ANYTHNG\e[0m\n\n\n' && ls -lAh *${file_tag}* && echo && free -h && echo && uptime && echo && ps -p $dump_pid -o etime"
```
**submit sample to virustotal**
```bash
# in ~/.bashrc
export VIRUSTOTAL_API_KEY="<mah key>"
# in cli
sha256dsum SAMPLE.zip # get sha256 to look up on the site
curl -X POST -H "X-ApiKey: $VIRUSTOTAL_API_KEY" -F "file=@$PWD/SAMPLE.zip" https://www.virustotal.com/api/v3/files
# then look up file by sha256 checksum on the site
```