Merge branch 'master' of https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite into master
This commit is contained in:
commit
338ec9622c
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
VERSION="v2.9.1"
|
VERSION="v2.9.2"
|
||||||
ADVISORY="This script should be used for authorized penetration testing and/or educational purposes only. Any misuse of this software will not be the responsibility of the author or of any other collaborator. Use it at your own networks and/or with the network owner's permission."
|
ADVISORY="This script should be used for authorized penetration testing and/or educational purposes only. Any misuse of this software will not be the responsibility of the author or of any other collaborator. Use it at your own networks and/or with the network owner's permission."
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
@ -2279,7 +2279,11 @@ if [ "`echo $CHECKS | grep IntFiles`" ]; then
|
|||||||
fi
|
fi
|
||||||
done;
|
done;
|
||||||
if [ "$c" ]; then
|
if [ "$c" ]; then
|
||||||
|
if [ "`echo \"$s\" | grep -E \"$sidG1\"`" ] || [ "`echo \"$s\" | grep -E \"$sidG2\"`" ] || [ "`echo \"$s\" | grep -E \"$sidVB\"`" ]; then
|
||||||
echo "$s" | sed -E "s,$sidG1,${C}[1;32m&${C}[0m," | sed -E "s,$sidG2,${C}[1;32m&${C}[0m," | sed -E "s,$sidVB,${C}[1;31;103m&${C}[0m,"
|
echo "$s" | sed -E "s,$sidG1,${C}[1;32m&${C}[0m," | sed -E "s,$sidG2,${C}[1;32m&${C}[0m," | sed -E "s,$sidVB,${C}[1;31;103m&${C}[0m,"
|
||||||
|
else
|
||||||
|
echo "$s" | sed -E "s,/.*,${C}[1m&${C}[0m,"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done;
|
done;
|
||||||
@ -2304,7 +2308,11 @@ if [ "`echo $CHECKS | grep IntFiles`" ]; then
|
|||||||
fi
|
fi
|
||||||
done;
|
done;
|
||||||
if [ "$c" ]; then
|
if [ "$c" ]; then
|
||||||
|
if [ "`echo \"$s\" | grep -E \"$sidG1\"`" ] || [ "`echo \"$s\" | grep -E \"$sidG2\"`" ] || [ "`echo \"$s\" | grep -E \"$sidVB\"`" ]; then
|
||||||
echo "$s" | sed -E "s,$sidG1,${C}[1;32m&${C}[0m," | sed -E "s,$sidG2,${C}[1;32m&${C}[0m," | sed -E "s,$sidVB,${C}[1;31;103m&${C}[0m,"
|
echo "$s" | sed -E "s,$sidG1,${C}[1;32m&${C}[0m," | sed -E "s,$sidG2,${C}[1;32m&${C}[0m," | sed -E "s,$sidVB,${C}[1;31;103m&${C}[0m,"
|
||||||
|
else
|
||||||
|
echo "$s" | sed -E "s,/.*,${C}[1m&${C}[0m,"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done;
|
done;
|
||||||
|
@ -432,6 +432,7 @@ namespace winPEAS
|
|||||||
{ "Modify", (int)FileSystemRights.Modify }, //0x301bf
|
{ "Modify", (int)FileSystemRights.Modify }, //0x301bf
|
||||||
{ "Write", (int)FileSystemRights.Write }, //0x116
|
{ "Write", (int)FileSystemRights.Write }, //0x116
|
||||||
{ "ChangePermissions", (int)FileSystemRights.ChangePermissions }, //0x40000
|
{ "ChangePermissions", (int)FileSystemRights.ChangePermissions }, //0x40000
|
||||||
|
{ "AppendData/CreateDirectories", (int)FileSystemRights.AppendData },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user