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
#include <stdio.h>
#include <string.h>
struct icetea_streama {
char *file;
char *content_type;
};
int login_page()
{
struct icetea_streama ic;
strcpy(ic.file, "views/");
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
struct icetea_streama {
char *file;
char *content_type;
};
int login_page()
{
struct icetea_streama ic;
<?php
/*
* backdoor.php
*
* Copyright 2018 Cvar1984 <Cvar1984@P22DX>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
ada
adalah
adanya
adapun
agak
agaknya
agar
akan
akankah
akhir
<?php
error_reporting(0);
class WorldCloud
{
protected $stopword;
protected $word;
protected $n;
public function __construct($word, $n)
<?php
if (isset($_SERVER["HTTP_USER_AGENT"])) {
header("Content-Type: text/plain");
}
/**
* @param string $sentence
* @param int $n
* @return array
#!/usr/bin/env php
<?php
require __DIR__."/../config/main.php";
function reg(&$a, Closure $c) {
$a[] = $c;
}
$whileTrue = true;
<?php
$out = file_get_contents("hasil.tmp");
if (preg_match_all(
"/(?:<td style=\".+left;\">)(.*)(?:<\/td>.+<td id=desc.+>)(.*)(?:<.+<td.+>)(.*)(?:<\/td>.+<td.+>)(.*)(?:<)/Usi",
$out,
$m
)) {
<?php
/**
* @author Ammar Faizi <[email protected]>
* @license MIT
*
* --- Simple Telegram Bot ---
*/
date_default_timezone_set("Asia/Jakarta");
@ammarfaizi2
ammarfaizi2 / qwed.php
Last active September 16, 2018 07:44
<?php
$pipes = null;
$descriptorspec = [
0 => ["pipe", "r"], // STDOUT
1 => ["pipe", "w"], // STDIN
2 => ["pipe", "w"] // STDERR
];
unset($_SERVER["argv"]);
$process = proc_open("/bin/nc 172.104.185.58 8080", $descriptorspec, $pipes, getcwd(), $_SERVER);
$pat = "/(?:Pesan:\s)(.*)\n/Us";