
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
ficaptcha
Advanced tools
Module for image-captcha generation
Build from source
git clone https://github.com/0x7o/fiCaptcha
cd fiCaptcha
pip install .
Python pip install
pip install ficaptcha
Create a folder with images for captcha:
├── images
│ ├── toy
│ ├── toy1.png
│ ├── toy2.png
│ └── ...
│ └── fox
│ ├── fox1.png
│ ├── fox2.png
│ └── ...
Import the library and create a class
size=(256, 256) - Captcha size in pixelsimage_dir="images" - Image folder for captchabackground_color="white" - Background Colornoise_bg=True - Whether or not to add noise to the backgroundnoise_im=True - Whether or not to add noise to the imagesrotate_im=True - Rotate images or notcount_images=5 - Number of images on the captchafrom ficaptcha.image import Captcha
c = Captcha(size=(256, 256), image_dir="images", rotate_im=False)
Let's generate our captcha
result = c.generate()
print(result)
{'class': 'toy', 'file': 'images/toy/toy5.png', 'position': (17, 139)}
FAQs
Simple captcha
We found that ficaptcha demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.