View cnc3018
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
$$ < $0=10 | |
$1=25 | |
$2=0 | |
$3=6 | |
$4=0 | |
$5=0 | |
$6=0 | |
$10=1 | |
$11=1.000 | |
$12=0.002 |
View 1.c
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
st@ubuntu:/media/st/CDROM$ gdb break | |
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1 | |
Copyright (C) 2016 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "i686-linux-gnu". |
View tc-tango.ini
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
[COLORS] | |
BackColor=3421230 | |
ForeColor=12500670 | |
MarkColor=9125192 | |
CursorColor=5237247 | |
BackColor2=1973790 | |
InverseCursor=0 | |
CursorText=-1 | |
InverseSelection=1 |
View tc-tango.ini
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
[COLORS] | |
BackColor=3421230 | |
ForeColor=12500670 | |
MarkColor=9125192 | |
CursorColor=5237247 | |
BackColor2=1973790 | |
InverseCursor=0 | |
CursorText=-1 | |
InverseSelection=1 |
View glpr.sh
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/bash | |
BROWSER='google-chrome' | |
#GITLAB_SECRET='' | |
ENDPOINT='http://gitlab.activeby.net/api/v3' | |
PROJECT='activebilling/core' | |
#curl --header "PRIVATE-TOKEN: xxx" "http://gitlab.activeby.net/api/v3/projects/activebilling%2Fcore" | awk '{match($1,"[0-9]+",a)}END{print a[0]}' | |
PROJECT_ID=177 | |
ACTION="projects/$PROJECT_ID/merge_requests" | |
CURRENT_BRANCH=`git branch | grep '^\*' | awk '{ print $2; }'` |
View gist:936321cadd33e145a41b367a3fcb6a03
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
sudo mount /dev/sdXXX /mnt | |
sudo mount /dev/sdXX /mnt/boot/efi | |
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done | |
sudo chroot /mnt | |
grub-install /dev/sdX | |
update-grub | |
Put this in your /etc/grub.d/40_custom file: | |
menuentry 'Windows 10' { |
View manual-uninstall-paragon-ntfs.sh
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
# after appcleaner does his magic, do this | |
sudo rm -rf "/Library/Application Support/Paragon Software/" | |
sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist | |
sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist | |
sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/ | |
sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer | |
sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/ |
View exercise_web_crawler.go
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
package main | |
import ( | |
"fmt" | |
"sync" | |
) | |
type Cache struct { | |
data map[string]string | |
m sync.Mutex |
View deobfuscation.py
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
import idaapi | |
idaapi.CompileLine('static deobfuscate() { RunPythonStatement("deobfuscate()"); }') | |
AddHotkey("Alt-N", "deobfuscate") | |
repl_pairs = { | |
"e8 3a 00 00 00" : "b8 01 00 00 00", # mov eax, 1 | |
} | |
def chunk(string, length): |
View kindle.sh
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
# Command line utility to send attachments to your kindle | |
# It supports sending a PDF in both regular form and with the convert option | |
# and sending to the regular (@kindle.com) or free Kindle mail (@free.kindle.com) | |
# The only argument it has is the name of the file to send. It will detect if | |
# it is a pdf and treat it accordingly. | |
## Preferences | |
# If true, send one version with pdf as-is, another with 'convert' subject | |
# else, just send the pdf version |
NewerOlder