WPZ

/ web / 1 / nagios-test / [dxwrx-rx-r]
berkas terminal database massal sistem
/web/1/nagios-test/mysql.php (3.53 KB)
<?php
ini_set ('display_errors', On);
ini_set ('error_reporting', E_ALL & ~E_NOTICE);
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
php?> 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=windows-1250">
  <meta name="generator" content="PSPad editor, www.pspad.com">
  <title>Systemstress</title>
  </head>
  <body>
<pre>
<?php
  
	function myflush() {
		for ($i=1;$i<=20;$i++) {
			echo "<dummy></dummy>";
		}
		flush();
		ob_flush();
	}
  
  function start($text) {
    global $timer,$todo;
    $timer=microtime(true);
    $todo=$text;
    echo "START $text\n";
    myflush();
  } 
  
  function stop() {
    global $timer,$todo;
    $timer=microtime(true)-$timer;
    printf("STOP $todo ($timer sec / %s KB)\n\n",number_format(memory_get_usage()/1024,2));
    myflush();
  }
  
function start2($text) {
    global $timer2,$todo2;
    $timer2=microtime(true);
    $todo2=$text;
    echo "START $text\n\n";
    myflush();
  } 
  
  function stop2() {
    global $timer2,$todo2;
    $timer2=microtime(true)-$timer2;
    printf("STOP $todo2 ($timer2 sec / %s KB)\n\n",number_format(memory_get_usage()/1024,2));
    myflush();
  }
 
  
  function filestress() {
	  start2('files');
	 for ($i=1;$i<=100;$i++) {
	  $filename='./'.uniqid('').'.txt';
	  
	  start('open $filename');
	  $fp=fopen($filename,'w');
	  stop();
	  
	  start('writing');
	  for ($j=1; $j<=10000; $j++) {
	    fwrite($fp,md5(uniqid(rand(), true)));
	  }
	  stop();
	  
	  start('closing');
	  fclose($fp);
	  stop();
	  
	  start('reading $filename');
	  $file=file($filename);
	  stop();
	  
	  start('unlink $filename');
	  unlink($filename);
	  stop();
	  echo "\n\n";
	  
	 }
	 stop2();
  }
  
  function dbstress() {
  	global $timer;
  	start2('DB');
		// Connecting, selecting database
		start('connect');
		$link = mysql_connect('localhost', 'smokepingtest', 'dr3iwar3')
		    or die('Could not connect: ' . mysql_error());
		stop();
		
		mysql_select_db('smokepingtest') or die('Could not select database');
		
		/*
		mysql_query('drop table if exists stresstest') or die('Query failed: ' . mysql_error());
		start('create table');
		// Performing SQL query
		$query = "
				CREATE TABLE stresstest (
		  id bigint unsigned NOT NULL auto_increment,
		  test1 varchar(255) default NULL,
		  test2 text,
		  PRIMARY KEY  (id)
		)
		";
		mysql_query($query) or die('Query failed: ' . mysql_error());
		stop();
		
		$records=10000;
		start("insert $records records");
		for ($i=1;$i<=$records;$i++) {
			$query=sprintf(
				"insert into stresstest (test1,test2) values ('%s','%s');",
				md5(uniqid(rand(), true)),
				str_repeat(md5(uniqid(rand(), true)).' ',100)
			);				
			mysql_query($query) or die('Query failed: ' . mysql_error());
		}
		stop();
		echo $records/$timer." rec/sec (insert)\n\n";
		
		start('create index');
		mysql_query('create index idx1 on stresstest (test1)') or die('Query failed: ' . mysql_error());
		stop();
		*/
		$count=15;
		start("$count random selects");
		for ($i=1;$i<=$count;$i++) {
			$query=sprintf(
				'select * from stresstest order by test1 limit %s,30;',
				rand(1,(int)($count/30))*30
			);
			$result=mysql_query($query) or die('Query failed: ' . mysql_error());
			while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
			}
			mysql_free_result($result);
		}
		stop();
		echo $count/$timer." query/sec\n\n"; 
		
		
  	stop2();
  }
  
  
  dbstress();
  #filestress();

?>

done.
</pre>
  </body>
</html>
namawaktuukuranownerpermaksi
..
SSI_test.shtml 2025-01-15 01:01188 B www-data:www-data-xw-x--x--
edt
getenv.php 2025-01-15 01:01163 B www-data:www-data-xw-x--x--
edt
iconv.php 2025-01-15 01:01305 B www-data:www-data-xw-x--x--
edt
image.jpg 2025-01-15 01:01912 B www-data:www-data-xw-x--x--
edt
imap_check.php 2025-01-15 01:01407 B www-data:www-data-xw-x--x--
edt
index.html 2025-01-15 01:01684 B www-data:www-data-xw-x--x--
edt
ioncube_test.php 2025-01-15 01:0117.3 KB www-data:www-data-xw-x--x--
edt
mail.php 2025-01-15 01:01163 B www-data:www-data-xw-x--x--
edt
mysql.php 2025-01-15 01:013.53 KB www-data:www-data-xw-x--x--
edt
opcache.php 2025-01-15 01:0122.38 KB www-data:www-data-xw-x--x--
edt
opcache2.php 2025-01-15 01:0130.63 KB www-data:www-data-xw-x--x--
edt
paypal.php 2025-01-15 01:01336 B www-data:www-data-xw-x--x--
edt
phpcheck.php 2025-01-15 01:0110.04 KB www-data:www-data-xw-x--x--
edt
phpinfo.php 2025-01-15 01:0123 B www-data:www-data-xw-x--x--
edt
phpinfo.php4 2025-01-15 01:0123 B www-data:www-data-xw-x--x--
edt
phpinfo.php5 2025-01-15 01:0123 B www-data:www-data-xw-x--x--
edt
phpmail.php 2025-01-15 01:01208 B www-data:www-data-xw-x--x--
edt
stress.php 2025-01-15 01:0168 B www-data:www-data-xw-x--x--
edt
aksi pada path manual

cwd: /web/1/nagios-test
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK