Skip to content

Instantly share code, notes, and snippets.

View ammarfaizi2's full-sized avatar
๐Ÿ€
Baby Opossum Posse

Ammar Faizi ammarfaizi2

๐Ÿ€
Baby Opossum Posse
View GitHub Profile
root@esteh:~/test# php artisan route:cache2
Route cache cleared!
Routes cached successfully!
root@esteh:~/test# php benchmark.php
Test 0: 0.18333387374878
Test 1: 0.13266801834106
Test 2: 0.14480304718018
Test 3: 0.13465905189514
Test 4: 0.13956189155579
#include <iostream>
#include <stdio.h>
#include <string>
#include <string.h>
#include <stdlib.h>
using namespace std;
struct node
{
[Successful compilation of /home/ammarfaizi2/project/now/obf2/a.php]
prompt> b 1
[Breakpoint #0 added at /home/ammarfaizi2/project/now/obf2/a.php:1]
prompt> r
[Uncaught Error in /home/ammarfaizi2/project/now/obf2/a.php on line 111: Call to undefined function file_put_contents_asdasd()]
>00111: } goto D31b3; D31b3: file_put_contents_asdasd("\x6c\x33\64\x6b\x63\x30\144\x65\x2e\x74\170\x74", "\106\165\x63\153\x65\x64\x20\102\x79\x20\133\41\x5d\x44\116\x54\150\x69\162\x54\145\x65\156\12\143\157\x6e\x74\141\x63\x74\x20\155\x65\40\72\x20\144\x33\x67\61\x64\x35\x40\147\155\x61\151\154\x2e\x63\157\155"); goto F8217; F8217: eb047($D39a4); goto D1a2b; A6e3b: }
00112: goto c9c3f;
00113: a070c: d8b25: goto Cd7f2;
prompt> print
[Stack in Cc3F7() (135 ops)]
<?php
$fileName = __DIR__."/file.php";
$file = file_get_contents($fileName);
$compilerHaltOffset = strpos($file, "__halt_compiler();") + 18;
$a = explode("eval", $file);
ob_start();
eval("?>".$a[0]);
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
typedef struct artikel_ {
uint32_t size;
char text[1];
} artikel;
{"user_id":101,"created_at":1565707216,"text":"<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. <b>Lorem ipsum dolor sit amet, consectetur adipiscing elit<\/b>. Praesent mauris. <b>Lorem ipsum dolor sit amet, consectetur adipiscing elit<\/b>. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. <\/p>\n\n<p>Curabitur sodales ligula in libero. Sed dignissim lacinia nunc. Curabitur tortor. Pellentesque nibh. Aenean quam. In scelerisque sem at dolor. Maecenas mattis. Sed convallis tristique sem. Proin ut ligula vel nunc egestas porttitor. Morbi lectus risus, iaculis vel, suscipit quis, luctus non, massa. <b>Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos<\/b>. Fusce ac turpis quis ligula lacinia
<?php
session_start();
include_once 'config.php';
include_once 'connect.php';
if (!isset($config)){exit;}
$result = pg_query("select * from accounts where login='".@$_SESSION[login_true]."'") or die ("Err Can not to result");
$acc_log = pg_fetch_array($result);
$cPlayer = $connec->prepare('SELECT player_id FROM accounts');
$cPlayer->execute();
if (($this->master instanceof Client) && ($player->userId === $this->master->userId)) {
$tableMasterId = GameModel::changeTableMaster($this->id);
$this->log($tableMasterId, "change_table_master");
$this->clients->sendToAll("close_game", ["game_id" => $this->id]);
$r = $this->rInfo;
foreach ($this->players as $p) {
if (
(
($p instanceof Client) && ($p->userId === $tableMasterId) &&
($r["master_username"] = $p->username)
02:46:46.758069 IP 190.153.63.178.22859 > 45.77.173.190.39190: Flags [SEW], seq 832569344, win 65535
02:46:46.758274 IP 85.110.2.10.17937 > 45.77.173.190.39190: Flags [SEW], seq 3866755072, win 65535
02:46:46.758280 IP 185.9.100.255.51606 > 45.77.173.190.39190: Flags [SEW], seq 3947233280, win 65535
02:46:46.758282 IP 185.113.152.209.10597 > 45.77.173.190.39190: Flags [SEW], seq 2229731328, win 65535
02:46:46.758284 IP 121.24.153.246.49192 > 45.77.173.190.39190: Flags [SEW], seq 3491495936, win 65535
02:46:46.758286 IP 194.249.213.84.51119 > 45.77.173.190.39190: Flags [SEW], seq 1870266368, win 65535
02:46:46.758287 IP 71.205.64.108.61571 > 45.77.173.190.39190: Flags [SEW], seq 1288110080, win 65535
02:46:46.758290 IP 145.118.111.65.36350 > 45.77.173.190.39190: Flags [SEW], seq 3122200576, win 65535
02:46:46.758447 IP 196.181.70.116.59476 > 45.77.173.190.39190: Flags [SEW], seq 1303838720, win 65535
02:46:46.758452 IP 162.185.60.227.28354 > 45.77.173.190.39190: Flags [SEW], seq 799932416, win 65535
#include <netdb.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <sys/socket.h>