Warning: This project is developed strictly for educational purposes only. The author does not endorse or support any illegal activities related to the use of this project. Please ensure you have the necessary permissions before using this software to access data.
"Love Birds" is a Python-based project using FastAPI that allows you to grab the target's location, target device info and take a picture using their front camera just by sending them a link. It serves as a learning tool for understanding web APIs, Python, and networking, cyber awareness.
- Provide information about target device.
- Location of target device.
- Provides continual views of target through font camera.
Ensure that Python is installed on your system. You can download it from python.org.
It is highly recommended to use a virtual environment to manage dependencies. Below are the steps to create and activate a virtual environment for different platforms:
- Open Command Prompt or PowerShell.
- Navigate to your project directory.
- Run the following commands:
python -m venv venv
.\venv\Scripts\activate
-
Open your terminal.
-
Navigate to your project directory.
-
Run the following commands:
python3 -m venv venv
source venv/bin/activate
- After Activateing Virtualenv run the following command
pip install -r requirements.txt
- After Activateing Virtualenv run the following command
pip3 install -r requirements.txt
- To run in localhost (127.0.0.1)
uvicorn main:app
- To run on your ip to use it in your local network
uvicorn main:app --host 0.0.0.0 --port 8000
There more free services to use , here I will use Cloudflare Tunnel in my demo.
- Download Cloudflare Tunnel using wget:
wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64
- Grant execution permissions:
chmod +x cloudflared-linux-amd64
- Run the Cloudflare Tunnel from the Command Prompt:
./cloudflared-linux-amd64 tunnel --url http://127.0.0.1:8000
- Download the Cloudflare Tunnel executable from the link:
- Run the Cloudflare Tunnel from the Command Prompt:
cloudflared-windows-amd64.exe tunnel --url http://127.0.0.1:8000
- Download Cloudflare Tunnel using curl:
curl -LO https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-darwin-amd64.tgz
- Extract the tar file::
tar -xvzf cloudflared-darwin-amd64.tgz
- Move the executable to /usr/local/bin:
sudo mv cloudflared /usr/local/bin
- Run the Cloudflare Tunnel:
cloudflared tunnel --url http://127.0.0.1:8000
- After Executing the command for port Forwarding, you will able to see something like the following image.
- After successfully attack all infomation will be stored in a json file call 'data.json'
The Fontend Design is inspried from https://codepen.io/rahul-sahni/pen/eYQbJGG ,Big thanks to Developer Rahul