This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Q | |
{ | |
public static function qurl($url, $opt = []) | |
{ | |
$ch = curl_init($url); | |
$optf = [ | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_SSL_VERIFYPEER => false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(cf_a, cf_b) { | |
var cf_c = function(cf_d) { | |
while (--cf_d) { | |
cf_a['push'](cf_a['shift']()); | |
} | |
}; | |
cf_c(++cf_b); | |
}(df_a, 0x139)); | |
var df_b = function(cf_e, cf_f) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data = [ | |
"20 Agustus 2018" => [ | |
"negatif" => rand(1, 6000), | |
"positif" => rand(1, 6000), | |
"netral" => rand(1, 6000) | |
], | |
"21 Agustus 2018" => [ | |
"negatif" => rand(1, 6000), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use PhpPy\PhpPy; | |
/** | |
* @author Ammar Faizi <[email protected]> https://www.facebook.com/ammarfaizi2 | |
* @license MIT | |
* @version 0.0.1 | |
*/ | |
final class Analyzer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace PhpPy; | |
/** | |
* @author Ammar Faizi <[email protected]> | |
* @package \PhpPy | |
* @since 0.0.1 | |
*/ | |
final class PhpPy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author Ammar Faizi <[email protected]> | |
* @license MIT | |
* @version 0.0.1 | |
*/ | |
class TelegramMonitoringAPI | |
{ | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
if (! isset($argv[1])) { | |
printf("Please provide \$argv[1] for session identifier!\n"); | |
exit(1); | |
} | |
use danog\MadelineProto\API; | |
use TelegramDaemon\EventHandler; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$errno = $error = NULL; | |
$host = "www.indopremier.com"; | |
$handle = fsockopen("ssl://{$host}", 443, $errno, $error, 100); | |
if (is_resource($handle)) { | |
$requestHeaders = | |
"GET /module/saham/include/stock-streaming.php HTTP/1.1\r\n". | |
"Host: {$host}\r\n". | |
"User-Agent: Mozilla/5.0 (X11; Ubuntu; Linu…) Gecko/20100101 Firefox/61.0\r\n\r\n"; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <sys/wait.h> | |
#include <sys/types.h> | |
int main(int argc, char const *argv[]) | |
{ | |
int pid; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$typeProxy = 'http'; //http/socks | |
if ($typeProxy === 'http') { | |
$url = 'https://free-proxy-list.net/'; | |
} else if($typeProxy === 'socks') { | |
$url = 'https://www.socks-proxy.net/'; | |
} | |
$get = curl($url); |