OpenBulletToPython using code from OpenBullet
This is not a user enumeration tool. The name is borrowed from OpenBullet but will not have support for wordlists, wordlist types.
- PARSE
- REQUEST
- KEYCHECK
- FUNCTIONS
- UTILITY
-
FUNCTION
- Constant
- Base64Encode
- Base64Decode
- ToUppercase
- ToLowercase
- Length
- Replace
- URLEncode
- URLDecode
- Hash
- HMAC
- RandomNum
- RandomString
- CurrentUnixTime
- UnixTimeToDate
- Dynamic DateFormat
- Ceil
- Floor
- Round
- Compute
- CountOccurrences
- CharAt
- Substring
- ReverseString
- Trim
- GetRandomUA
- PBKDF2PKCS5
- UnixTimeToISO8601
- Unescape
- ClearCookies
- HTMLEntityEncode
- HTMLEntityDecode
-
REQUEST
- Standard
- BasicAuth
- Multipart
- Raw
-
PARSE
- LR
- CSS
- JSON
- REGEX
- EncodeOutput
- DotMatches
-
KEYCHECK
- CUSTOM
-
UTILITY
- List
- Variable
- Conversion
- File
- Folder
from OpenBullet import OpenBullet
config_text = r"""REQUEST GET "https://google.com"
HEADER "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"
HEADER "Pragma: no-cache"
HEADER "Accept: */*"
KEYCHECK
KEYCHAIN Success OR
KEY "title>Google" """
username = "username"
password = "password"
open_bullet = OpenBullet(config=config_text, USER=username, PASS=password)
print(open_bullet.run())
>>> GET https://google.com
>>> SUCCESS