Skip to content

Instantly share code, notes, and snippets.

View hermesthecat's full-sized avatar
💭
I may be slow to respond.

Kerem hermesthecat

💭
I may be slow to respond.
View GitHub Profile
"C:\Program Files\CCleaner\CCleaner.exe" /AUTO
ipconfig /flushdns
Hiberfil.sys is a hidden system file which keeps track of your console session when you put the computer in Hibernate. Now, since both Vista and Windows 7 have a hybrid sleep function that works beautifully, the question is, what is this hiberfil.sys file good for? Of course, deleting hidden system files might seem dangerous, but in reality it isn't, if we know what we are doing, and why we are doing it, and how to do it.
• What we are doing is easy to answer. In my laptop with a 64GB SSD this file was taking 8GB of space, space that was wasted because I either use my laptop or put it to sleep. On a rare occasion I will shut it down.
• Why we are doing is derivative from my previous paragraph: to liberate 8GB that I can use for more productive endeavors.
• How to do it is quite trivial. Type in the search box Command Prompt, when the Command Prompt shows up as the very first option, right click on it and choose Run as Administrator (it won't work otherwise), on the CLI type the following line : powercfg.exe
'#---------------------------------------------------------------------------------
'#The sample scripts are not supported under any Microsoft standard support
'#program or service. The sample scripts are provided AS IS without warranty
'#of any kind. Microsoft further disclaims all implied warranties including,
'#without limitation, any implied warranties of merchantability or of fitness for
'#a particular purpose. The entire risk arising out of the use or performance of
'#the sample scripts and documentation remains with you. In no event shall
'#Microsoft, its authors, or anyone else involved in the creation, production, or
'#delivery of the scripts be liable for any damages whatsoever (including,
'#without limitation, damages for loss of business profits, business interruption,
@echo off
pushd "%~dp0"
cscript DisableSmartScreen.vbs
SET RQR=REG QUERY "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v "Version"
%RQR% | findstr /I "\<10\>" >nul && %INL% reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PhishingFilter" /v EnabledV9 /t REG_DWORD /d "00000000" /f >nul
NET STOP "Windows Defender Service" > nul 2>&1
popd
exit
Disable Driver Signature Enforcement in Windows 8
--------------------------------------------------
From the Metro Start Screen, open Settings (move your mouse to the bottom-right-corner of the screen and wait for the pop-out bar to appear, then click the Gear icon).
Click ‘More PC Settings’.
Click ‘General’.
Scroll down, and click ‘Restart now’ under ‘Advanced startup’.
Wait a bit.
Click ‘Troubleshoot’.
Click ‘Advanced Options’
<?php
// Licence: Do Whatever The Fuck You Want! http://www.wtfpl.net/about/
// Author: Your bro!
$fbAuth = array("facebook_id" => "123456789", "facebook_token" => "<Use charles proxy to do man-in-middle SSL sniffing and extract fb token>");
// Do the magic.
$tinderToken = tinderCall("auth", "token", $fbAuth); // Authenticate
@hermesthecat
hermesthecat / guide.txt
Created August 29, 2016 01:02
LINUX on THINKPAD X220
sudo apt-add-repository ppa:linux-phc/ppa
sudo apt-get update
sudo apt-get install linux-phc
sudo apt-get install linux-headers-generic-pae-phc
reboot
git clone git://github.com/evgeni/tp_smapi.git
cd tp_smapi
make
sudo make load HDAPS=1
sudo make install HDAPS=1
@hermesthecat
hermesthecat / TR Banka Bin List
Created December 28, 2016 08:14 — forked from serkanince/TR Banka Bin List
TR Banka Bin Listesi
SET NAMES utf8;
DROP TABLE IF EXISTS `cc_bins`;
CREATE TABLE `cc_bins` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`bank_code` int(11) NOT NULL,
`bank_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`bin_number` int(11) NOT NULL,
`card_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@hermesthecat
hermesthecat / binlistesi.sql
Created December 28, 2016 08:14 — forked from serkanince/binlistesi.sql
Türkiye BIN listesi
/*
Guncel BIN LISTESI
twitter : http://twitter.com/tserpico
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `binlist`
-- ----------------------------
@hermesthecat
hermesthecat / tinyproxy.md
Created January 10, 2017 10:04 — forked from RobbieClarken/tinyproxy.md
How to use tinyproxy to observe iOS traffic
  • brew install tinyproxy

  • mkdir -p /usr/local/Cellar/tinyproxy/1.8.3/var/{log,run}/tinyproxy

  • Comment out Allow 127.0.0.1 in /usr/local/etc/tinyproxy.conf.

  • Start tinyproxy with tinyproxy -d.

  • Follow the log file with

    tail -f /usr/local/Cellar/tinyproxy/1.8.3/var/log/tinyproxy/tinyproxy.log