Skip to content

Instantly share code, notes, and snippets.

View chinmaydd's full-sized avatar
💭
💻 🎧 ☕ 🎸

Chinmay Deshpande chinmaydd

💭
💻 🎧 ☕ 🎸
View GitHub Profile
f0VMRgEBAQAAAAAAAAAAAAIAAwABAAAAAJIECDQAAAAMmwEAAAAAADQAIAAMACgA
JgAlAAYAAAA0AAAANIAECDSABAiAAQAAgAEAAAQAAAAEAAAAAwAAALQBAAC0gQQI
tIEECBMAAAATAAAABAAAAAEAAAABAAAAAAAAAACABAgAgAQIBAgAAAQIAAAEAAAA
ABAAAAEAAAAAEAAAAJAECACQBAj0BwAA9AcAAAUAAAAAEAAAAQAAAAAgAAAAoAQI
AKAECIQDAACEAwAABAAAAAAQAAABAAAA2C4AANi+BAjYvgQIgAEAAIQBAAAGAAAA
ABAAAAIAAADkLgAA5L4ECOS+BAj4AAAA+AAAAAYAAAAEAAAABAAAAMgBAADIgQQI
yIEECGAAAABgAAAABAAAAAQAAABT5XRk7AEAAOyBBAjsgQQIHAAAABwAAAAEAAAA
BAAAAFDldGSwIAAAsKAECLCgBAh8AAAAfAAAAAQAAAAEAAAAUeV0ZAAAAAAAAAAA
AAAAAAAAAAAAAAAABgAAABAAAABS5XRk2C4AANi+BAjYvgQIKAEAACgBAAAEAAAA
AQAAAC9saWIvbGQtbGludXguc28uMgAABAAAABQAAAADAAAAR05VAC10dvN9h8cL
f0VMRgEBAQAAAAAAAAAAAAIAAwABAAAAAAAACTQAAADEUQAAAAAAADQAIAAJACgA
NQAyAAYAAAA0AAAANIAECDSABAggAQAAIAEAAAUAAAAEAAAAAwAAAFQBAABUgQQI
VIEECBMAAAATAAAABAAAAAEAAAABAAAAAAAAAACABAgAgAQIoAcAAKAHAAAFAAAA
ABAAAAEAAAAIDwAACJ8ECAifBAgsAQAAMAEAAAYAAAAAEAAAAgAAABQPAAAUnwQI
FJ8ECOgAAADoAAAABgAAAAQAAAABAAAAACAAAAAAAAkAAAAJACAAAAAgAAAFAAAA
ABAAAAEAAAAAQAAAACAACQAgAAkwEAAAgRUAAQYAAAAAEAAAUeV0ZAAAAAAAAAAA
AAAAAAAAAAAAAAAABgAAABAAAABS5XRkAEAAAAAgAAkAIAAJ9A8AAPQPAAAGAAAA
BAAAAC9saWIvbGQtbGludXguc28uMgAABAAAABAAAAABAAAAR05VAAAAAAACAAAA
BgAAABgAAAAEAAAAFAAAAAMAAABHTlUAcM1ngkbq6brjvOwfODVrxDvRo8UCAAAA
CQAAAAEAAAAFAAAAACAAIAAAAAAJAAAArUvjwAAAAAAAAAAAAAAAAAAAAAAsAAAA
f0VMRgEBAQAAAAAAAAAAAAIAAwABAAAAAIQECDQAAACwFAAAAAAAADQAIAAJACgA
IwAgAAYAAAA0AAAANIAECDSABAggAQAAIAEAAAUAAAAEAAAAAwAAAFQBAABUgQQI
VIEECBMAAAATAAAABAAAAAEAAAABAAAAAAAAAACABAgAgAQIoAcAAKAHAAAFAAAA
ABAAAAEAAAAIDwAACJ8ECAifBAgsAQAAMAEAAAYAAAAAEAAAAgAAABQPAAAUnwQI
FJ8ECOgAAADoAAAABgAAAAQAAAAEAAAAaAEAAGiBBAhogQQIRAAAAEQAAAAEAAAA
BAAAAFDldGTEBgAAxIYECMSGBAgsAAAALAAAAAQAAAAEAAAAUeV0ZAAAAAAAAAAA
AAAAAAAAAAAAAAAABgAAABAAAABS5XRkCA8AAAifBAgInwQI+AAAAPgAAAAEAAAA
AQAAAC9saWIvbGQtbGludXguc28uMgAABAAAABAAAAABAAAAR05VAAAAAAACAAAA
BgAAABgAAAAEAAAAFAAAAAMAAABHTlUAcM1ngkbq6brjvOwfODVrxDvRo8UCAAAA
CQAAAAEAAAAFAAAAACAAIAAAAAAJAAAArUvjwAAAAAAAAAAAAAAAAAAAAAAsAAAA
set $mod Mod1
exec --no-startup-id feh --bg-fill /home/chinmay_dd/Pictures/opeth.jpg
font pango:Terminus 11px
new_window pixel 3
focus_follows_mouse no
bindsym Print exec scrot $HOME/Pictures/ScreenShoots/`date+%Y-%m-%d_%H:%M:%S`.png
bindsym $mod+Control+s exec "scrot -d 2"
import csv
import pdb
# 0: Time
# 1: Wire6 Analog
# 2: Wire7 Analog
# 3: Time
# 4: Wire 0 Digital
# 5: Time
# 6: Wire 1 Digital
import re
a = [162, 202, 175, 179, 200, 169, 179, 156, 208, 168]
b = [215, 180, 172, 180, 180, 208, 205, 247, 221, 254]
c = [38, 99, 36, 125, 84, 56, 124, 97, 38, 74]
d = [129, 202, 182, 205, 151, 205, 212, 200, 155]
pat = re.compile('[0-9a-zA-Z_@!?-]')
for i in range(0, 255):
1d151e00011d00415e244e4f4a06001e112d1e003a0a191b111e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
4357475e5e7d0022281600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
6a07111b0a1e480e1311070700187b2bc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
6a07111b0a1e480e1311070700187b2b49c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
6a07111b0a1e480e1311070700187b2b495ec000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
6a07111b0a1e480e1311070700187b2b495e4bc0000000000000000000
@chinmaydd
chinmaydd / panoply_draft1.txt
Created May 29, 2018 18:29
Panoply Paper Review
[*] Explain the fundamental technique of the paper in your own words.
- define an abstraction called micron, focus on low TCB
- inter micron flow and data integrity, confidentiality
- expose a rich set of posix apis for the enclave
- system calls: delegate-rather-than emulate and adding custom checks
- enable fork-exec for applications which need multi-processing and multi-threading capabilities
- provides a highly-flexible compiler infrastructure for security architects to midfy existing applications
[*] What problem is the paper claiming to solve?
@chinmaydd
chinmaydd / Chapter - 1.txt
Created January 21, 2018 17:21
Static Single Assignment for Decompilation (A summary)
Introduction
* Machine code decompilers have the ability to provide the key to software evolution: source code.
* The idea is to transform the program from one form to another. (Stems from the similarity between compilers and decompilers.
* Compilation removes comprehension aids (comments and meaningful names for procedures and variables) from the program
[+] Source code
* Source code is so important to software development that at times, it becomes worthwhile to derive it from the executable form of computer programs.
* Defines a set of precise steps required to achieve the functionality of the program
* Both source and machine code are equivalent: in that both convey how to perform the programs function
@chinmaydd
chinmaydd / Notice.md
Last active July 16, 2017 15:48
UPDATE NOTICE

To all r2pipe.rs and radeco-lib users:

In accordance with the discussion here, the radare2 community has decided to move higher level API functions and structures to a newer repository by the name radare2-r2pipe-api (which will contain APIs for multiple languages). This enables them to keep the core r2pipe logic in tact and develop all abstractions seperately from it.

Both repositories have already been updated to be stable with the above changes.

If you are facing build issues, an ideal way to update your dependencies would be to:

$ cargo clean