Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.221.70.17
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
rspamd /
lualib /
rspamadm /
[ HOME SHELL ]
Name
Size
Permission
Action
classifier_test.lua
8.32
KB
-rw-r--r--
clickhouse.lua
16.4
KB
-rw-r--r--
configgraph.lua
4.43
KB
-rw-r--r--
confighelp.lua
2.94
KB
-rw-r--r--
configwizard.lua
22.89
KB
-rw-r--r--
cookie.lua
3.03
KB
-rw-r--r--
corpus_test.lua
4.67
KB
-rw-r--r--
dkim_keygen.lua
4.91
KB
-rw-r--r--
dmarc_report.lua
21.65
KB
-rw-r--r--
dns_tool.lua
6.02
KB
-rw-r--r--
fuzzy_convert.lua
5.29
KB
-rw-r--r--
fuzzy_ping.lua
6.72
KB
-rw-r--r--
fuzzy_stat.lua
10.7
KB
-rw-r--r--
grep.lua
4.81
KB
-rw-r--r--
keypair.lua
12.66
KB
-rw-r--r--
mime.lua
31.04
KB
-rw-r--r--
neural_test.lua
6.11
KB
-rw-r--r--
publicsuffix.lua
2.25
KB
-rw-r--r--
ratelimit.lua
6.82
KB
-rw-r--r--
secretbox.lua
4.62
KB
-rw-r--r--
stat_convert.lua
1.14
KB
-rw-r--r--
statistics_dump.lua
13.96
KB
-rw-r--r--
template.lua
3.45
KB
-rw-r--r--
vault.lua
15.26
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : secretbox.lua
local util = require 'lua_util' local rspamd_util = require 'rspamd_util' local argparse = require 'argparse' local parser = argparse() :name "secretbox" :description "Encrypt/decrypt given text with given key and nonce" :help_description_margin(32) :command_target('command') :require_command(true) parser:mutex( parser:flag '-R --raw' :description('Encrypted text(and nonce if it is there) will be given in raw'), parser:flag '-H --hex' :description('Encrypted text(and nonce if it is there) will be given in hex'), parser:flag '-b --base32' :description('Encrypted text(and nonce if it is there) will be given in base32'), parser:flag '-B --base64' :description('Encrypted text(and nonce if it is there) will be given in base64') ) local decrypt = parser:command 'decrypt' :description 'Decrypt text with given key and nonce' decrypt:option "-t --text" :description("Encrypted text(Base 64)") :argname("<text>") decrypt:option "-k --key" :description("Key used to encrypt text") :argname("<key>") decrypt:option "-n --nonce" :description("Nonce used to encrypt text(Base 64)") :argname("<nonce>") :default(nil) local encrypt = parser:command 'encrypt' :description 'Encrypt text with given key' encrypt:option "-t --text" :description("Text to encrypt") :argname("<text>") encrypt:option "-k --key" :description("Key to encrypt text") :argname("<key>") encrypt:option "-n --nonce" :description("Nonce to encrypt text(Base 64)") :argname("<nonce>") :default(nil) local function set_up_encoding(args, type, text) local function fromhex(str) return (str:gsub('..', function (cc) return string.char(tonumber(cc, 16)) end)) end local function tohex(str) return (str:gsub('.', function (c) return string.format('%02X', string.byte(c)) end)) end local output = text if type == 'encode' then if args.hex then output = tohex(text) elseif args.base32 then output = rspamd_util.encode_base32(text) elseif args.base64 then output = rspamd_util.encode_base64(text) end elseif type == 'decode' then if args.hex then output = fromhex(text) elseif args.base32 then output = rspamd_util.decode_base32(text) elseif args.base64 then output = rspamd_util.decode_base64(text) end end return output end local function decryption_handler(args) local settings = { prefix = 'dec', dec_encrypt = true, dec_key = args.key } local decrypted_header = '' if(args.nonce ~= nil) then local decoded_text = set_up_encoding(args, 'decode', tostring(args.text)) local decoded_nonce = set_up_encoding(args, 'decode', tostring(args.nonce)) decrypted_header = util.maybe_decrypt_header(decoded_text, settings, settings.prefix, decoded_nonce) else local text_with_nonce = set_up_encoding(args, 'decode', tostring(args.text)) local nonce = string.sub(tostring(text_with_nonce), 1, 24) local text = string.sub(tostring(text_with_nonce), 25) decrypted_header = util.maybe_decrypt_header(text, settings, settings.prefix, nonce) end if decrypted_header ~= nil then print(decrypted_header) else print('The decryption failed. Please check the correctness of the arguments given.') end end local function encryption_handler(args) local settings = { prefix = 'dec', dec_encrypt = true, dec_key = args.key, } if args.nonce ~= nil then settings.dec_nonce = set_up_encoding(args, 'decode', tostring(args.nonce)) end local encrypted_text = util.maybe_encrypt_header(args.text, settings, settings.prefix) if encrypted_text ~= nil then print(set_up_encoding(args, 'encode', tostring(encrypted_text))) else print('The encryption failed. Please check the correctness of the arguments given.') end end local command_handlers = { decrypt = decryption_handler, encrypt = encryption_handler, } local function handler(args) local cmd_opts = parser:parse(args) local f = command_handlers[cmd_opts.command] if not f then parser:error(string.format("command isn't implemented: %s", cmd_opts.command)) end f(cmd_opts) end return { name = 'secret_box', aliases = { 'secretbox', 'secret_box' }, handler = handler, description = parser._description }
Close