Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: #!/bin/bash API="http://10.232.2.194/zabbix/api_jsonrpc.php" LOGIN="Admin" PASSWORD="pilot" sendRequest() { result = $(curl --request POST $API \ --header 'Content-Type: application/json' \ --data $1) echo result } login() { token = $(sendRequest '{ \ "jsonr Source: http://pastebin.com/raw.php?i=TjHaF8kr
↧