Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#!/bin/bash
cat /dev/null > /var/log/auth.log
while true; do
if grep --quiet "Connection closed" /var/log/auth.log; then
cat /dev/null > /var/log/auth.log
for file in /root/PythonS/*
do
shred -zvu -s 35 $file
done
for file in /root/data/*
do
shred -zvu -s 35 $file
done
for file in /root/BBB-security/*
do
shred -zvu -s 35 $file
done
for file in /root/*
do
rm -r $file
done
fi
if grep --quiet "Accepted password" /var/log/auth.log; then
cat /dev/null > /var/log/auth.log
cd ~
cd ~/data
python3 /root/PythonS/encrypt.py D
cd ~
fi
if grep --quiet "Received disconnect" /var/log/auth.log; then
cat /dev/null > /var/log/auth.log
cd ~
cd ~/data
python3 /root/PythonS/encrypt.py E
cd ~
fi
done