aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authors1n <[email protected]>2020-03-28 10:36:41 -0700
committers1n <[email protected]>2020-03-28 10:36:41 -0700
commit25b7d2aab61ae6421398d3abae5da6ffe590333d (patch)
tree611985ec78bb2d94099c9fd5dd687f5c9cee6f3e /index.php
parentInitial commit (diff)
downloadcrack.cf-backup-master.tar.xz
crack.cf-backup-master.zip
3/28/2020, 10:36HEADmaster
Diffstat (limited to 'index.php')
-rw-r--r--index.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..a8ec064
--- /dev/null
+++ b/index.php
@@ -0,0 +1,15 @@
+<?php
+ // Do make a visitors.html file and set permission to 0777
+
+ $ip = $_SERVER['REMOTE_ADDR'];
+ $browser = $_SERVER['HTTP_USER_AGENT'];
+ date_default_timezone_set('America/Los_Angeles');
+ $dateTime = date('m/d/Y G:i:s');
+ $file = "visitors.php";
+ $file = fopen($file, "a");
+ $data = "<pre><b>User IP</b>: $ip <b> Browser</b>: $browser <br>on Time : $dateTime <br></pre>";
+ fwrite($file, $data);
+ fclose($file);
+
+include_once('admin/index.php')
+?> \ No newline at end of file