From 6f1db7f9effb268760e1cefaf68bcfa52fe73ad9 Mon Sep 17 00:00:00 2001 From: PYDT <85057800+87owo@users.noreply.github.com> Date: Wed, 1 Mar 2023 10:55:48 +0800 Subject: [PATCH] Delete PYAS_api.py --- PYAS_api.py | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 PYAS_api.py diff --git a/PYAS_api.py b/PYAS_api.py deleted file mode 100644 index 4bbdb1c..0000000 --- a/PYAS_api.py +++ /dev/null @@ -1,16 +0,0 @@ -import requests - -def scan(types,text): - response = requests.get("http://27.147.30.238:5001/pyas", params={types: text}) - if response.status_code == 200: - if response.text == "True": - return "Virus found" - else: - return "Virus not found" - else: - return response.status_code - -print(scan("md5","")) - -# http://27.147.30.238:5001/pyas?md5= -# return string True, False