Skip to content

Instantly share code, notes, and snippets. dennyhalim

Block or report user

Report or block dennyhalim

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
dennyhalim / install-kabuto.ps1
Last active Jun 27, 2017 — forked from kurokikaze/gist:350fe1713591641b3b42
test install from powershell
View install-kabuto.ps1
(new-object System.Net.WebClient).DownloadFile('', '$env:windir\temp\kabuto.exe');. $env:windir\temp\kabuto.exe
dennyhalim /
Last active Jun 14, 2017
#windows updater using
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showFileExtensions #-showProtectedOSFiles
cinst TelnetClient -source windowsFeatures
#cinst Microsoft-Windows-Subsystem-Linux -source windowsFeatures
#choco uninstall -ry SMB1Protocol -source windowsFeatures
#choco uninstall -ry Internet-Explorer-Optional-x86 -source windowsFeatures
dennyhalim / group-policies.reg
Last active Oct 15, 2016
View group-policies.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main]
"Enable Browser Extensions"="no"
View 404.php
// code licensed
// plus, one rule. a link to from wherever this code used
// first of all, add this line (without //) to .htaccess:
// ErrorDocument 404 /404.php
// you dont need to edit anything here
// unless you want to change the looks & feel to match your website you can edit the html at the bottom
dennyhalim / .htaccess
Last active Oct 4, 2015
htaccess tricks
View .htaccess
#little bit more secure?
#post/comment/login with bad referer
RewriteEngine On
RewriteCond %{REQUEST_URI} .admin* [OR]
RewriteCond %{REQUEST_URI} .login\.php* [OR]
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_HOST}@@%{HTTP_REFERER} !^([^@]*)@@https?://\1/.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
View 1_Min_Micro_Trading.mq4
//| 1_Min_Micro_Trading.mq4 |
//| StarLimit Software Corps., |
//| |
#property copyright "StarLimit Software Corps.,"
#property link ""
#property indicator_chart_window
# info
# boleh masuk ke /etc/cron.daily/
mkdir /root/tmp
cd /root/tmp
rm -rf /root/tmp/emerging-IPTABLES-ALL.rules
export IPTABLES=/sbin/iptables
View blocklist.static
# This file holds a static list of host / network addresses to be blocked
# by the firewall via update-blocklist.
# Blank lines and comment lines are ignored; others should have one or
# more whitespace-delimited fields as follows:
# - a source specification (eg, an IP address or network
# address range in CIDR format) as the first field. NB:
# this is required.
# - an optional jump target (eg, DROP, REJECT, etc) as the
View whois.class.php
class Whois{
var $m_status = 0;
var $m_domain = '';
var $m_servers = array();
var $m_data = array();
var $m_connectiontimeout = 5;
var $m_sockettimeout = 30;
# Easy Website Creation Tool with SuExec and FastCGI, version 0.1.1
# Made by Kijin Sung (
# Based on
# With a few of my own modifications.
# Made for Ubuntu 8.04 LTS & Apache 2.2, free to port and modify.
# This script comes with no warranties whatsoever. Use at your own risk.
# If you don't understand what this script does, don't use it
You can’t perform that action at this time.