Skip to content

Instantly share code, notes, and snippets.

View floshodan's full-sized avatar
:octocat:
I'm coding

floshodan floshodan

:octocat:
I'm coding
View GitHub Profile
@floshodan
floshodan / main.py
Created June 28, 2022 13:31
Openload direct link
from browsermobproxy import Server
import psutil
import time
import json
for proc in psutil.process_iter():
# check whether the process name matches
if proc.name() == "browsermob-proxy":
proc.kill()
@floshodan
floshodan / img_upload.sh
Created April 5, 2019 22:33
Pixhost Upload Shellscript using API
#/bin/sh
image=$(find -name "*.jpg")
export image
varCurl=$(curl -b --include "https://api.pixhost.to/images" \
-H 'Content-Type: multipart/form-data; charset=utf-8' \
-H 'Accept: application/json' \
-F "img=@$image" \
-F 'content_type=1' \