Leave a message for feye.dev!
Messages:
- We transformed feye.dev from a static HTML page into a dynamic website where visitors can leave messages. The main idea is to use Python + Flask as the backend to handle message submissions and display.
- A new project folder was created at: /var/www/feye.dev/app
- This folder contains the Flask application and related files.
- A Python virtual environment (venv) was also set up here to isolate dependencies.
- The main Flask application file is: /var/www/feye.dev/app/app.py
- Handles HTTP requests. Processes POST submissions from the message form. Reads and displays saved messages.
- Messages are stored in a text file inside the same folder: /var/www/feye.dev/app/messages.txt
- Nginx configuration was updated in: /etc/nginx/sites-available/feye.dev
- The HTTPS server block now proxies requests to the Flask app running on Gunicorn. The HTTP → HTTPS redirect block managed by Certbot was kept intact. SSL certificates from Let’s Encrypt are still used.
- Gunicorn is used as a production WSGI server to run the Flask app. It runs the Flask application on 127.0.0.1:5000, while Nginx acts as a reverse proxy to forward requests from port 80 or 443 to Gunicorn. Gunicorn is configured to run as a systemd service so that the app starts automatically on server reboot.
- We implemented the Post/Redirect/Get pattern to prevent duplicate messages when the user reloads the page after submitting a message. After a POST submission, Flask redirects the client to a GET request, ensuring the message is only stored once.
- The result is that visitors can submit and view messages on feye.dev in real time. The site uses HTTPS with Let’s Encrypt, all HTTP traffic is redirected to HTTPS, and Flask runs securely in production through Gunicorn and Nginx.
- I ran using the command "nohup gunicorn -w 3 -b 127.0.0.1:5000 app:app > gunicorn.log 2>&1 &"
- To check logs use: "tail -f gunicorn.log"
- (still in the /var/www/feye.dev/app dir)
- To check if it is running: ps aux | grep gunicorn
- To stop it: sudo pkill gunicorn
- d
- <script>alert('XSS')</script>
- "><script>alert("XSS")</script>
- <scr<script>ipt>alert('XSS')</scr<script>ipt>
- Crazy!
- Kek
- Jannes ist ein Kek!
- Wie habe ich das nicht kommen gesehen? :)
- -----BEGIN PGP MESSAGE----- wcFMA0VgbJecWPIfAQ/+OYzbvCFdnlaI29xwBAMkiFwmwvNHrVvrLeF6FmK8d7jw k+TOjKu57bX4/ryiAnv4vf0flAX1FZFd4n/PzjEsBeTKrmA2FJMlk3Wf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iHTd0abYkKwZsabkE5P0Gm1OT92Jn 8QcqLhtzzCYLf2IGQwLSwVsB60z2VztdAk5j8pXLOTpNiobIP/hLJurmNNSscnR/ lXG6v9AkeTaQGcpAnODjOF8AfuQmix9WW1t+yjyPYxeLa/L1AB+yIj+nSrgWh23X jP1zgaLzGN0bEEFAjIeB/jtp4Gz5SFXQ0DdDcKxr6y+g28z5PT44E/49yGAd4lgL Nci02lQHJ4kAv8CDpmQruvNYfOVSGjvcYbcLu4/Y86q6Von7WWUKO8d4OQ1o4Kls UXBRhYMQm4mjfFr+vK8RCOD6GZzNYNlxURNKc5LN4K18HO+dgj7kQ5ys5ENvvDJb Px9iH3KcUkYVrUbfFNQzJGR9Nc/LJ59lv5GVcAiPbtLgBwTAH4y+z4FAlWxBLcC9 kf7l6HmNN8t/l+E+JivZTMgDkP7yKEihmT/NLBX4TaE5+O2/JDZFlgMQDn7G5FwX k9F923bfdpH66l7H2p2drq49SmCXNL93tdAyo6ryuyj84DQ3NaCQOp6tWNYZb36Q aXgseVLieMtJpTvRo0DpbcWaclWrC+5/2ro4AZyPtyh4lFz4aoe9bmqc6MuNR8lz WZ73hKdH4DcEvWiX8x/GmOcC79PxTBaarTDeae7lTEEl1b89Rf4zp0H9dFNVtCdK qitU9NTMI6oD05an7F6mEBvH2bEmmNpQl8amIue5UAzHZCLKzromj+6BGmfviWVG 4/69OYrIqHtC1syIlYf9JUGA6o7rx6OJNJC94Q== =g2Pm -----END PGP MESSAGE-----
- Hello,
- feye.dev website needs to be indexed in Google Search Index to be displayed in Search Results.
- Register feye.dev at https://searchregister.org
- Hello http://feye.dev/fekal0911 Owner
- Hello,
- feye.dev needs to be indexed in Google Search Index to appear in Search Results.
- Register feye.dev at https://searchregister.org
- Hi http://feye.dev,
- Your website is not ranking well on Google.
- I can help you in putting your website on the Google's top-3 Rank and getting more customers Guaranteed.
- Would you like to me seo proposal your business site
- If you’re interested, then I will send you SEO Packages and strategies.
- Warm regards,
- Niketa
- Hi http://feye.dev,
- Could you please tell me if you want to show your website on top in Google searches and to increase organic traffic on your website.
- We are a digital marketing company that deals in SEO and we can bring your website to the first page of Google as we are helping more than 100+ websites to get them top in Google.
- Please let me know if you would like to discuss this opportunity.
- If you’re interested, then I will send you SEO Packages and strategies.
- Thank you,
- Niketa