Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jehovahsays authored Apr 19, 2024
1 parent e9f9e31 commit 5adb187
Show file tree
Hide file tree
Showing 7 changed files with 127 additions and 7 deletions.
22 changes: 20 additions & 2 deletions eyeball.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
fclose($handle);
?>
<?php
$ip = $localIp = gethostbyname(gethostname());
$handle = fopen("./brain/thoughts/gource.log", "a"); //open log file
foreach($_POST as $variable => $value) { //loop through POST vars
fwrite($handle, $variable . "+" . $value . "\r\n");
}
fwrite($handle, "IP: $ip \r\n \r\n");
fclose($handle);
?>
<?php
header_remove( 'X-Powered-By' );
header( 'Cache-control: none, no-cache, private, max-age=0' );
header( 'Pragma: no-cache' );
Expand Down Expand Up @@ -92,6 +101,7 @@
color: red;
}
</style>

<title>root@localhost</title>
</head>

Expand Down Expand Up @@ -129,14 +139,22 @@
</td>
</tr>
</table>

<a href="./face.php">List Directory</a>
<br>
<br>
<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.FloatPosition.TOP_LEFT, gaTrack: true, gaId: 'UA-60536321-1'}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<br>
<a href="./face.php">List Directory</a>
chat below<br>
<iframe src="./tail.php">
</iframe>
<br>

<script type="text/javascript" src="//rf.revolvermaps.com/0/0/6.js?i=597m9jcqxfz&amp;m=7&amp;c=e63100&amp;cr1=ffffff&amp;f=arial&amp;l=0&amp;bv=90&amp;lx=-420&amp;ly=420&amp;hi=20&amp;he=7&amp;hc=a8ddff&amp;rs=80" async="async"></script>


</li>
</ul>
Expand Down
Binary file added favicon.ico
Binary file not shown.
9 changes: 4 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<!DOCTYPE html>
<head>
<html lang="en">
Expand All @@ -12,20 +11,20 @@
<meta name="theme-color" content="black" />
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
<link rel="stylesheet" href="./index.css">
<script type="application/javascript" src="./index.js">
</script>
<title>root@localhost</title>
</head>
<!<iframe id="background" src="#" allow="autoplay" sandbox="allow-forms allow-same-origin allow-scripts"><!</iframe>
<body bgcolor="gray">
<a href="http://morgansbyers.scienceontheweb.net/">click here to visit website</a>
<br>

<br>
<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.FloatPosition.TOP_LEFT, gaTrack: true, gaId: 'UA-60536321-1'}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<br>
<br>
<a href="http://morgansbyers.scienceontheweb.net/">click here to visit website</a>

</body>
</html>
14 changes: 14 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
header( 'Content-Type-Options: nosniff' );
header( 'X-Content-Type-Options: nosniff' );
header( 'XSS-Protection: 1; mode=block' );
header( 'X-XSS-Protection: 1; mode=block' );
header( 'Vary: Accept-Encoding' );
header( 'Host: localhost' );
header( 'viewport: width=device-width' );
header( 'Accept-Language: en-US,en;q=0.5' );
header( 'Connection: Keep-alive' );
header( 'description: localhost' );
header( 'keywords: localhost' );
header("Location: ./eyeball.php");
?>
Binary file added morgansbyers.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions phpwin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"index": "eyeball.php"
}
86 changes: 86 additions & 0 deletions tail.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?php
/*
* Easy PHP Tail
* by: Thomas Depole
* v1.0
*
* just fill in the varibles bellow, open in a web browser and tail away
*/
$logFile = "./brain/thoughts/gource.log"; // local path to log file
$interval = 1000; //how often it checks the log file for changes, min 100
$textColor = ""; //use CSS color



// Don't have to change anything bellow
if(!$textColor) $textColor = "white";
if($interval < 100) $interval = 100;
if(isset($_GET['getLog'])){
echo file_get_contents($logFile);
}else{
?>
<html>
<title>Log</title>
<style>
@import url(http://fonts.googleapis.com/css?family=Ubuntu);
body{
background-color: black;
color: <?php echo $textColor; ?>;
font-family: 'Ubuntu', sans-serif;
font-size: 16px;
line-height: 20px;
}
h4{
font-size: 18px;
line-height: 22px;
color: #353535;
}
#log {
position: relative;
top: -34px;
}
#scrollLock{
width:2px;
height: 2px;
overflow:visible;
}
</style>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script>
setInterval(readLogFile, <?php echo $interval; ?>);
window.onload = readLogFile;
var pathname = window.location.pathname;
var scrollLock = true;

$(document).ready(function(){
$('.disableScrollLock').click(function(){
$("html,body").clearQueue()
$(".disableScrollLock").hide();
$(".enableScrollLock").show();
scrollLock = false;
});
$('.enableScrollLock').click(function(){
$("html,body").clearQueue()
$(".enableScrollLock").hide();
$(".disableScrollLock").show();
scrollLock = true;
});
});
function readLogFile(){
$.get(pathname, { getLog : "true" }, function(data) {
data = data.replace(new RegExp("\n", "g"), "<br />");
$("#log").html(data);

if(scrollLock == true) { $('html,body').animate({scrollTop: $("#scrollLock").offset().top}, <?php echo $interval; ?>) };
});
}
</script>
<body>
<h4><?php echo $logFile; ?></h4>
<div id="log">

</div>
<div id="scrollLock"> <input class="disableScrollLock" type="button" value="Disable Scroll Lock" /> <input class="enableScrollLock" style="display: none;" type="button" value="Enable Scroll Lock" /></div>
</body>
</html>
<?php } ?>

0 comments on commit 5adb187

Please sign in to comment.