Skip to content

Instantly share code, notes, and snippets.

View mobeigi's full-sized avatar
💙
Develop with heart

Mo Beigi mobeigi

💙
Develop with heart
View GitHub Profile
@mobeigi
mobeigi / MD5 Collision Demo
Created April 3, 2015 03:48
MD5 Collision Demo
From: http://www.mscs.dal.ca/~selinger/md5collision/
Block 1:
d131dd02c5e6eec4693d9a0698aff95c 2fcab58712467eab4004583eb8fb7f89
55ad340609f4b30283e488832571415a 085125e8f7cdc99fd91dbdf280373c5b
d8823e3156348f5bae6dacd436c919c6 dd53e2b487da03fd02396306d248cda0
e99f33420f577ee8ce54b67080a80d1e c69821bcb6a8839396f9652b6ff72a70
Block 2:
d131dd02c5e6eec4693d9a0698aff95c 2fcab50712467eab4004583eb8fb7f89
@mobeigi
mobeigi / gist:5a5dd9c6d012f849348e
Last active August 29, 2015 14:18
cmp of two image files saved in succession in paint
86 66 6 74 <
87 354 ì 76 >
96 55 - 57 /
97 170 x 134 \
98 343 ã 34 ^\
99 72 : 307 Ç
100 23 ^S 373 û
101 205 … 307 Ç
102 27 ^W 323 Ó
103 56 . 252 ª
@mobeigi
mobeigi / conemu reg add.reg
Last active August 29, 2015 14:18
Ass conemu shell extension registry file
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\conemu1]
@="Open ConEmu"
[HKEY_CLASSES_ROOT\Directory\Background\shell\conemu1\command]
@="C:\\Program Files\\ConEmu\\ConEmu64.exe"
@mobeigi
mobeigi / visual go training website
Last active August 29, 2015 14:18
Data structures and algorithms website
http://visualgo.net/
@mobeigi
mobeigi / c++ guessing game.cpp
Last active August 29, 2015 14:18
Guessing Game (One of my first C++ programs)
// Number Guessing Game
// Version 1.000
// By: Mohammad
#include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
#include <stdlib.h>
@mobeigi
mobeigi / EICAR.txt
Created April 8, 2015 02:28
EICAR Test Virus
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
@mobeigi
mobeigi / 100_to_1.cpp
Created April 11, 2015 04:42
Print 100 to 1
/*
* Question/Challenge from: http://www.thousandtyone.com/blog/EasierThanFizzBuzzWhyCantProgrammersPrint100To1.aspx
*
* Task: Print 100 to 1.
* Start code with "for(int i=0;".
* You cannot write anything before "for(int i=0;".
* You cannot use two loops.
*
* Time to complete: 30 seconds
*/
@mobeigi
mobeigi / Ducky_Shine_Multimedia.ahk
Created May 1, 2015 17:09
Ducky Shine III Multimedia Key Autohotkey script
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;Multimedia Keys for Ducky Shine 3
;Open selected file using notepad++
SC121::run % "D:\Program Files (x86)\Notepad++\notepad++.exe """ gst() """"
@mobeigi
mobeigi / Falchion.txt
Created May 27, 2015 11:59
Falchion Skin Codes
"Rocket Pop"
{
"paint" "478"
}
"Bunsen Burner"
{
"paint" "479"
}
"Ranger"
{
@mobeigi
mobeigi / LoL RADS Registry Fixer.bat
Last active October 28, 2015 06:08
LoL RADS Registry Fixer
@echo off
setlocal enabledelayedexpansion
cls
echo ----------------------------------------------
echo LoL RADS Registry Fixer by PersianMG (https://github.com/mohammadg)
echo ----------------------------------------------
:: Ask for 64bit or 32 bit
:getArch