Advertisement
James_inthe_box

Polyswarm file submit

Mar 25th, 2020
13,439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #! /usr/bin/env python3
  2. # scan one file
  3. import sys,os
  4.  
  5. item = sys.argv[1]
  6.  
  7. from polyswarm_api.api import PolyswarmAPI
  8. api_key = "key"
  9. api = PolyswarmAPI(key=api_key)
  10.  
  11. instance = api.submit(item)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement