A farmer for your Destructive Farm
Project description
PyFarmer
Introduction
A farmer for your Destructive Farm
You can read the documentation at rikyiso01.github.io/pyfarmer
Code Samples
from httpx import post from pyfarmer import farm, print_exception def main(ip: str): for flag_id in ["a", "b", "c"]: try: r = post( f"http://{ip}:5000/api/products/{flag_id}/download?a=/api/register" ) flag = r.text yield flag except: print_exception() if __name__ == "__main__": farm(main)
Installation
Install locally with:
pip install pyfarmer
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfarmer-2.0.1.tar.gz
(9.6 kB
view hashes)
Built Distribution
pyfarmer-2.0.1-py3-none-any.whl
(11.0 kB
view hashes)