Skip to content

Instantly share code, notes, and snippets.

@mengskysama
mengskysama / vm.py
Last active March 23, 2024 02:39
one provider create vm script without bypass cf
#import gevent
#from ghost import Ghost, Session
import requests
import re
import json
import time
import socket
#from gevent import monkey; monkey.patch_all()
timeout = 90
socket.setdefaulttimeout(timeout)