CTF challenge game- Find the hidden file to restore the broken module!
Project description
pyctf-game
A Game that encrypts a module on every run for this file and the five modules that one of them be encrypted on every run for this file are "pprint, datetime, csv, webbrowser, copy". The module code be moved to a file then the module file be encrypted. So you have to find the module code and when you find it you will find in the name of the file the (encrypted module name) and the file name ends with .html Open the file and copy the code then, go to C://Users//your-computer-name//AppData//Local//Programs//Python//Python312//Lib//the-module-name-you-read-in-the-.html-file.py and open that file then remove the encrypted text and paste the code and by that the encrypted module will work again
Installation
pip install pyctf-game
Usage
From Bash
ctf
From Python
from pyctf import game
game()
Modules That Can Be Encrypted
pprint datetime csv webbrowser copy
Hints
Sometimes nothing has all the information
The file name shows the encrypted module
All Possible File Locations
The backup file can be in any of these folders (replace your-computer-name with your actual computer username):
C:\Users\Public
C:\Users\your-computer-name\AppData\Local\Temp
C:\Users\your-computer-name\AppData\Local\Microsoft\Windows\INetCache
C:\Users\your-computer-name\AppData\Roaming\Microsoft\Windows\Recent
C:\Users\your-computer-name\AppData\Roaming\Microsoft\Windows\Templates
C:\Users\your-computer-name\AppData\Roaming\Microsoft\Crypto\RSA
C:\Users\your-computer-name\Documents
C:\Users\your-computer-name\Downloads
C:\Users\your-computer-name\Desktop
C:\Users\your-computer-name\Music
C:\Users\your-computer-name\Videos
C:\Users\your-computer-name\Pictures
C:\Users\your-computer-name\Searches
C:\Users\your-computer-name\Contacts
C:\Users\your-computer-name\Favorites
C:\Users\your-computer-name\Links
C:\Users\your-computer-name\Saved Games
C:\Users\your-computer-name\3D Objects
C:\Users\your-computer-name\OneDrive
C:\Users\your-computer-name\best rabbits
C:\Users\your-computer-name\nothing here
C:\Users\your-computer-name\nothing here believe me\nothing here
C:\Users\your-computer-name\nothing here Literally\nothing here\nothing here
C:\Users\your-computer-name\not this folder\please no\not this
C:\Users\your-computer-name\keep searching
C:\Users\your-computer-name\almost there
C:\Users\your-computer-name\wrong way\believe me\wrong way
C:\Users\your-computer-name\try again\try again\try again\try again\
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyctf_game-0.4.tar.gz.
File metadata
- Download URL: pyctf_game-0.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec4dfbe8330e0d1d03ab3aa662cf9861e17fe13d9923c92ef8fadfe23dd8d16f
|
|
| MD5 |
6e28815edba0c9d3b136f79d45681c0b
|
|
| BLAKE2b-256 |
93f17f4469525f5c17f6b17ea96d8ada6bcc629771d954dde0c27d7309ed9804
|
File details
Details for the file pyctf_game-0.4-py3-none-any.whl.
File metadata
- Download URL: pyctf_game-0.4-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f8c90de4cafa68a0db44660f8ef671b744ff0e61f0ec532237a7c746f2994f0
|
|
| MD5 |
3bab2bb101f778d407dc8af3d793e7d7
|
|
| BLAKE2b-256 |
a913810fc0acf0f1a94e67d8b471e051745ef6f405f54cc5a074feff8ef570d6
|