Lucene search
K

mother2.sh

🗓️ 17 Aug 1999 00:00:00Reported by Packet StormType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 38 Views

Finds setuid and setgid programs, outputs to specified files, usage instructions included.

Code
`# !/bin/sh  
#  
# mother2.sh  
# by; syg @ EFnet AKA the bitch who doesnt care  
# to take credit for such a worthless script that  
# doesnt do anything hard, I just wanted to say  
# those other two bitches are dumb as fuck for  
# even sending this to the public and actually  
# making a huge prop header as if it was some sort  
# of rad finding they discovered.  
#  
# Well, this REALLY finds all setuid and setgid programs.  
#  
# mother.sh did not work and was asuming your home  
# dir was /root and uhm tha doesnt even matter, the script  
# did NOT even fucking work... learn if and fi dumb bitches.  
# btw, it was made by Nickelby/PureDead, the dorks of 99.  
#  
if test -z $1; then  
echo ""  
echo "* mother2.sh by: syg @ EFnet"  
echo "*"  
echo "* Usage: ./`basename $0` <setuid-OutPutFile> <setgid-OutPutFile>"  
echo ""  
exit 0  
fi  
  
if [ $2 ];then  
echo ""  
echo "* mother2.sh by: syg @ EFnet"  
echo "*"  
echo "* setuid-OutPutFile -> $1"  
echo "* setgid-OutPutFile -> $2"  
echo "*"  
echo "* Now scanning /* for setuid..."  
echo "*"  
find / -perm -4000 > $1 2>&1  
echo "* setuid scan done..."  
echo "*"  
echo "* Now scanning /* for setgid..."  
echo "*"  
find / -perm -2000 > $2 2>&1  
echo "* setgid scan done..."  
echo "*"  
echo "* `basename $0` complete..."  
echo "* Check $1 and $2"  
echo ""  
fi  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Aug 1999 00:00Current
7.4High risk
Vulners AI Score7.4
38