• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux [Protip] Web exploit/malware scan

Don Daniello

/root
Staff member
Administrator
Joined
Apr 11, 2008
Messages
3,697
Solutions
16
Reaction score
1,463
Location
Proland
A short tutorial how to minimize the risk of getting a PHP Shell uploaded to your server.

Code:
# Download gonotifyav
wget https://github.com/DevelopersPL/gonotifyav/releases/download/v0.1/gonotifyav

# Add permissions:
chmod +x gonotifyav

# Run:
./gonotifyav --delete 1 /tmp /var/www /dev/shm

Test it on a second terminal:
Code:
wget http://www.r57shell.net/shell/c99.txt -O /tmp/c99.txt
stat /tmp/c99.txt

You should see:
stat: cannot stat ‘/tmp/c99.txt’: No such file or directory

Next steps: Figure out how to run this on boot (use upstart)!

More info: https://github.com/DevelopersPL/gonotifyav
 
Back
Top