This file contains 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
#https://admx.help/?Category=ChromeEnterprise&Policy=Google.Policies.Chrome::DnsOverHttpsMode | |
reg.exe add "HKLM\Software\Wow6432Node\Google\Chrome\Extensions\cjpalhdlnbpafiamejdnhcphjbkeiagm" /v update_url /t REG_SZ /D "https://clients2.google.com/service/update2/crx" /F | |
reg.exe add "HKLM\Software\Google\Chrome\Extensions\cjpalhdlnbpafiamejdnhcphjbkeiagm" /v update_url /t REG_SZ /D "https://clients2.google.com/service/update2/crx" /F | |
reg.exe add "HKLM\Software\Policies\Google\Chrome" /v DnsOverHttpsMode /f /t REG_SZ /d automatic | |
reg.exe add "HKLM\Software\Policies\Google\Chrome" /v DnsOverHttpsTemplates /f /t REG_SZ /d "https://dns-family.adguard.com/dns-query" | |
reg.exe add "HKLM\Software\Policies\Google\Chrome" /v BackgroundModeEnabled /f /t REG_DWORD /d 0 | |
reg.exe add "HKLM\Software\Policies\Google\Chrome\Recommended" /v DefaultCookiesSetting /f /t REG_DWORD /d 4 | |
reg.exe add "HKLM\Software\Policies\Google\Chrome\Recommended" /v DefaultNotificationsSetting /f /t REG_DWORD /d 2 | |
reg.exe add "HKLM\Software\Pol |
This file contains 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
(new-object System.Net.WebClient).DownloadFile('https://app.kabuto.io/dl/cp/13105', '$env:windir\temp\kabuto.exe');. $env:windir\temp\kabuto.exe |
This file contains 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
#windows updater using boxstarter.org | |
#Enable-UAC | |
#Enable-RemoteDesktop | |
#Disable-MicrosoftUpdate | |
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 |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\W32time\Parameters] | |
"NtpServer"="id.pool.ntp.org,0x02" | |
"Type"="AllSync" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main] | |
"Enable Browser Extensions"="no" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome] |
This file contains 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 | |
// | |
// code licensed http://creativecommons.org/licenses/by-nc/3.0/ | |
// plus, one rule. a link to http://dennyhalim.com 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 |
This file contains 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
#little bit more secure? | |
#post/comment/login with bad referer | |
RewriteEngine On | |
RewriteCond %{REQUEST_METHOD} POST | |
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} ^$ |
This file contains 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
//+------------------------------------------------------------------+ | |
//| 1_Min_Micro_Trading.mq4 | | |
//| StarLimit Software Corps., | | |
//| starlimit04@yahoo.com | | |
//+------------------------------------------------------------------+ | |
#property copyright "StarLimit Software Corps.," | |
#property link "starlimit04@yahoo.com" | |
#property indicator_chart_window |
This file contains 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
#!/bin/sh | |
# info https://gist.github.com/888017 | |
# boleh masuk ke /etc/cron.daily/ | |
mkdir /root/tmp | |
cd /root/tmp | |
rm -rf /root/tmp/emerging-IPTABLES-ALL.rules | |
export IPTABLES=/sbin/iptables | |
wget http://rules.emergingthreats.net/fwrules/emerging-IPTABLES-ALL.rules;type=a |
This file contains 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
# 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 |
This file contains 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 Whois{ | |
var $m_status = 0; | |
var $m_domain = ''; | |
var $m_servers = array(); | |
var $m_data = array(); | |
var $m_connectiontimeout = 5; | |
var $m_sockettimeout = 30; |
NewerOlder