Pastoid

The page you are looking at now is at this URL: http://pastoid.com/b0h

This paste was last updated on February 24, 2010 at 2:12 pm.

Pasted Coderaw

<% OPTION EXPLICIT %>
<% CONST ForReading = 1
DIM reportName, strPhysicalPath
reportName = request.queryString("rt")
strPhysicalPath = Server.mappath("../" & reportName)
 
DIM objFSO, objFile
set objFSO = createObject ("Scripting.FileSystemObject")
set objFile = objFSO.Getfile(strPhysicalPath)
 
DIM objFileTextStream
set objFileTextStream = objFile.OpenAsTextStream(ForReading, -2)
%>
 
 
 
<html>
<head>
	<title>Untitled</title>
</head>
 
<body>
<br>
<br>
<br><div align="center"><TABLE BORDER="0"><TR><TD>
<PRE style="font-size:11px;font-family:courier;">
<%
DIM strLine
DO WHILE objFileTextStream.AtEndOfStream <> TRUE
	strLine = Server.HTMLEncode(objFileTextStream.ReadLine)
	Response.write strLine & vbCrLf
LOOP
objFileTextStream.close
%></PRE></TD></TR></TABLE></div>
 
 
</body>
</html>
 

Toggle wordwrap

Pasted Coderaw

<html>
<head>
	<title>Untitled</title>
</head>
 
<body>
<br>
<br>
<br><div align="center"><TABLE BORDER="0"><TR><TD>
<PRE style="font-size:11px;font-family:courier;">
<?php echo htmlspecialchars(file_get_contents(dirname(__FILE__).'/../'.basename($_GET['rt']))); ?>
</PRE></TD></TR></TABLE></div>
 
 
</body>
</html>

Toggle wordwrap

Referring DomainHits
Unknown Referer 159
pastoid.com 9
www.rockriverbar.com 1
Is this paste spam?
<Hide