Server IP : 184.154.167.98 / Your IP : 3.129.73.6 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /bin/ |
Upload File : |
#!/bin/bash help(){ cat << EOF Usage: i360-storage mkbin create .rules file from sources i360-storage mkdump binfile dumpfile create dump for mmap from the preivous step .rules file i360-storage qtest dumpfile dumpfile quicktest i360-storage test dumpfile dumpfile more thourough integrity test i360-storage rwldump rules_whitelist_file dump rules whitelist file (v3, v4) content as yaml i360-storage mksbins rulesfile create per script rules files EOF } if [ -z "$1" ]; then help exit 0 fi if [ -e /usr/share/i360-php-opts/oldrules ]; then /usr/bin/i360-storage.immunity "$@" exit $? fi case "$1" in mkbin) CURDIR=$(pwd) /usr/bin/i360-storage.v2 "$CURDIR/.rules.v2" "$CURDIR" exit $? ;; mkdump) echo "Deprecated option" ;; qtest) echo "Deprecated option" ;; test) echo "Deprecated option" ;; rwldump) /usr/bin/i360-storage.immunity rwldump "$2" exit $? ;; mksbins) /usr/bin/i360-storage.immunity mksbins "$2" exit $? ;; *) help ;; esac exit 0