08-04-2019, 03:19 AM
After having managed to get the API connectivity working I am unable to perform certain actions.
I am able to successfully query hashlists, tasks, and other multiple objects in the system, but I cannot determine how to create a simple hashlists.
Using the example JSON from the User API PDF:
I initially get:
So I comment out the usebrain=false line, then I get:
How can I determine the exact error or proper API calls?
Thanks,
--Vic
I am able to successfully query hashlists, tasks, and other multiple objects in the system, but I cannot determine how to create a simple hashlists.
Using the example JSON from the User API PDF:
Code:
{
"section": "hashlist",
"request": "createHashlist",
"name": "API Hashlist",
"isSalted": false,
"isSecret": true,
"isHexSalt": false,
"separator": ":",
"format": 0,
"hashtypeId": 3200,
"accessGroupId": 1,
"data": "JDJ5JDEyJDcwMElMNlZ4TGwyLkEvS2NISmJEYmVKMGFhcWVxYUdrcHhlc0FFZC5jWFBQUU4vWjNVN1c2",
"useBrain": false,
"brainFeatures": 0,
"accessKey": "mykey"
}
I initially get:
Code:
The response is:{"section":"hashlist","request":"createHashlist","response":"ERROR","message":"Hashcat brain cannot be used if not enabled in config!"}
So I comment out the usebrain=false line, then I get:
Code:
The response is:{"section":"hashlist","request":"createHashlist","response":"ERROR","message":"Invalid query!"}
How can I determine the exact error or proper API calls?
Thanks,
--Vic