About
pystrfry a tool and Python 3 library for Linux for assisting in solving those annoying strfry CTF challenges that seem to be common in CTFs like ångstromCTF 2020 and DawgCTF 2020.
No additional requirements other than Linux and Python 3.
Installation
PyPi
# pip3 install pystrfry
Manual
$ git clone https://github.com/arinerron/pystrfry.git
$ cd pystrfry
# python3 setup.py install
Usage
Command Line Interface
Help Menu
$ strfry --help
usage: strfry [-h] [--processid PROCESSID] [--timestamp TIMESTAMP] [--decode] string
a tool for solving those annoying strfry CTF challenges
positional arguments:
string the string to manipulate
optional arguments:
-h, --help show this help message and exit
--processid PROCESSID, --pid PROCESSID, -p PROCESSID
process id which called strfry
--timestamp TIMESTAMP, --ts TIMESTAMP, -t TIMESTAMP
unix timestamp when strfry happened
--decode, -d switch to decode mode$
Example
$ strfry --pid=1337 --ts=1234 "i use arch btw"
ubs twir ec ha
$ strfry --pid=1337 --ts=1234 "ubs twir ec ha" --decode
i use arch btw
Python Library
>>> from strfry import *
>>> strfry('i use arch btw', pid=1337, ts=1234)
'ubs twir ec ha'
>>> unstrfry('ubs twir ec ha', pid=1337, ts=1234)
'i use arch btw'
>>> strfry('this will pull the current ts / pid if you dont specify')
'iutihtfwel usnsd f oyroyi t p/rphpctlcsle n dleiitu'
>>> strfry('this will pull the current ts / pid if you dont specify')
'ols tupeprn ftod ceit l sehic rys i tn pwl/uyflhdiiu t'
>>> strfry('this will pull the current ts / pid if you dont specify')
'ft sult f ynn srhp top /eihlew ipi ecdl l itutc rudyois'
Release files for pystrfry 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pystrfry-1.0.3.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pystrfry-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / pystrfry-1.0.3.tar.gz
| Download URL | pystrfry-1.0.3.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2264860503ad4f0626b0af8cdd2d110034a8361439e82c9a9f923710a1853f99
|
|
BLAKE2b-256 checksum How to use checksums |
d75917fcd3ca656e3beac4af96a26491554c36be96b10b24f732ea65ffac9f6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|
Release files / pystrfry-1.0.3-py3-none-any.whl
| Download URL | pystrfry-1.0.3-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db4bbdd88935248747799f5dc05bdafa339bac236cfbd33057142d8a7cbae3b4
|
|
BLAKE2b-256 checksum How to use checksums |
ff41611762949d99dcbef8c024d400ec06bb3ce068c645b530bb0ea6b528ea5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|