Skip to content

Instantly share code, notes, and snippets.

View dennyhalim's full-sized avatar

DennyHalim.com dennyhalim

View GitHub Profile
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><A HREF="https://en-US.add-ons.mozilla.com/en-US/firefox/bookmarks/" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAFo9M%2F3AAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAPkSURBVHjaYmAAgrjyOnOGiKxqxT9%2F%2FvwHCCCGuNJKLpAo49KTL%2F5%2F%2F8PMABBADJFZFWwXnn%2F%2FDxJYeOLNf0aQ9AIg48%2Ff%2Fwwfvv1hAAggZpBAYlWdnrqJLcPVE4e%2Bsuy7%2FfH%2F%2B88%2FGdjY2Bj%2BcCqHMey6%2Ben%2F379%2F%2F%2F8B6unZ9ew%2Fy54jV249f6%2Bm9uXnX4Y9qyaoAAQAhAB7%2FwEAAAAAY3h%2BG1RdbeMMCgkB9%2Fr%2BAPL2%2FAC3vsyi5NG6YQFcbnwdZ3F44uru9gAAAQAAUjEVALPT7wDu9v4A5erz%2FgL19vr16PD6AAUHBgDu9PwA%2F%2F8AAO%2F2%2FgD0%2BP0A7e7x8QPYzsX38vj9g%2BPk6hkLFiAxy%2BP4AeHj5%2FXFtp9GonxaagII7AawXyprpf%2F%2FZ5L5%2Fe%2Fv9%2B%2Fff91ZN7nrG0icJSqrkknJxHm1h5Nl0J8%2F%2Fxg%2B
function addSearchProvider(uri) {
if ((typeof window.external == "object")
&& (typeof window.external.AddSearchProvider == "function")) {
window.external.AddSearchProvider(uri);
} else {
alert("require browser that support opensearch standard (such as Firefox 2+ or IE 7+) to install");
}
}
<!--
<?xml version="1.0" encoding="UTF-8"?>
<safer>
<app comment="Internet Explorer" path="c:\program files\internet explorer" user="true" />
<app comment="Mozilla Firefox" path="c:\program files\mozilla firefox" user="true" />
<app comment="Opera" path="c:\program files\opera\opera.exe" user="true" />
<app comment="Windows Messenger" path="c:\program files\messenger" user="true" />
<app comment="Windows Live Messenger" path="c:\program files\windows live" user="true" />
<app comment="Outlook Express" path="c:\program files\outlook express" user="true" />
<app comment="MS Office" path="C:\Program Files\Microsoft Office" user="true" />
</safer>
<useragentswitcher>
<folder description="Internet Explorer">
<useragent description="MSIE 8 (Win Vista)" useragent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/><useragent description="MSIE 8 (Win XP)" useragent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/>
<useragent description="MSIE 7 (Win Vista)" useragent="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/>
<useragent description="MSIE 7 (Win XP)" useragent="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" appcodename="" appname="" appvers
; Settings in this file are not overridable by users
; info: http://wiki.dennyhalim.com/safer-browsing
; (change to suite your need)
[User Prefs]
Enable Wand=0
Accept Cookies Session Only=1
Enable Trust Rating=1
Ignore Unrequested Popups=1
Show Default Browser Dialog=0
[rename]
NUL=C:\TEMP
NUL=C:\TMP
NUL=C:\windows\temp
NUL=[%SYSTEM%]\wmsdkns.exe
NUL=[%SYSTEM%]\uoyzsydz.exe
NUL=[%SYSTEM%]\xwusuhzh.exe
NUL=[%SYSTEM%]\vbpdtvdp.exe
NUL=C:\Program Files\Windows Media Player\lavupaxo.dll
NUL=C:\WINDOWS\nemkwgp.exe
'Enable/Disable Registry Editing tools
'© Doug Knox - rev 12/06/99
'http://www.dougknox.com/security/scripts_desc/regtools.htm
Option Explicit
'Declare variables
Dim WSHShell, n, MyBox, p, t, mustboot, errnum, vers
Dim enab, disab, jobfunc, itemtype
cache-size=2048 #max 10000
#no-negcache
domain-needed
#no-resolv
no-poll
server=208.67.222.222
server=208.67.220.220
#server=your.isp.dns.servers
#strict-order
# (c) 2008 DennyHalim.com
# you're free to copy to copy and/or distribute this script under GPL license
# paste into your ~/.bashrc and it just works.
# it will startx / startxfce when you login at tty1
# it can also logout/shutdown after you close x.
file=/tmp/.X0-lock
#check if x is running
if [[ -e $file ]]
then
#http://wiki.dennyhalim.com/linux-firmware
#firewall
iptables -I FORWARD -p tcp --syn --dport 80 -m connlimit --connlimit-above 1000 -j REJECT
iptables -I FORWARD -p tcp --syn -m connlimit --connlimit-above 100 -j REJECT
iptables -I FORWARD -p udp --dport 53 -m limit --limit 100/sec -j ACCEPT
iptables -I FORWARD -p udp -m limit --limit 10/sec -j ACCEPT
#wan up
export IPTABLES=/usr/sbin/iptables
wget http://www.emergingthreats.net/fwrules/emerging-IPTABLES-ALL.rules