Add files via upload
This commit is contained in:
1 file changed
+13
+13
@@ -0,0 +1,13 @@
|
||||
import requests
|
||||
|
||||
def api_scan(types,text):
|
||||
response = requests.get("http://27.147.30.238:5001/pyas", params={types: text})
|
||||
if response.status_code == 200:
|
||||
return response.text
|
||||
else:
|
||||
return response.status_code
|
||||
|
||||
print(scan("md5","<md5 hashes>"))
|
||||
|
||||
# http://27.147.30.238:5001/pyas?md5=<md5 hashes>
|
||||
# return string True, False
|
||||
Reference in new issue
Block a user