Skip to content

Instantly share code, notes, and snippets.

Avatar
🖖
hmm hmm hmm hmm hmm

avicoder avicoder

🖖
hmm hmm hmm hmm hmm
View GitHub Profile
View prompt(1).md

Challenge 0

"><svg onload=prommpt(1)>

Challenge 1

<img src=1 onerror=prompt(1)/

Challenge 2

View TS
Fix, gdb shared lib
Try compiling using gcc -fno-builtin.
gdb: “No symbol table is loaded”
gcc -g prog.c
View keybase.md

Keybase proof

I hereby claim:

  • I am vjex on github.
  • I am avicoder (https://keybase.io/avicoder) on keybase.
  • I have a public key whose fingerprint is BBE5 FC5D 3AC2 BB78 C6A4 1D9D 4B0B A549 62AB A6CC

To claim this, I am signing this object:

@avicoder
avicoder / JS-links.js
Last active Jul 23, 2016
Find all the hyperlinks in a webpage
View JS-links.js
@avicoder
avicoder / enforce-https.js
Created Jul 23, 2016
Redirect/enforce website to use secure connection.
View enforce-https.js
<script type="text/javascript">
var enforce = "avicoder.me";
if ((enforce == window.location.host) && (window.location.protocol != "https:"))
window.location = window.location.toString().replace(/^http:/, "https:");
</script>
View Helloworld.asm
_CONST SEGMENT ; or _DATA
$SG1234 DB 'Hello, World',0AH,00H
_CONST ENDS
_TEXT SEGMENT
push ebp
move ebp,esp
push OFFSET $SG1234
call _printf
add ebp,4
View Owasp_Notes.md

####Injection

  • Injection could be anything, It could be Sql, LADAP , XAPth, Mail Based injection or any other database.

  • Malicious request to modified query is an injection

  • Data exfiltration

  • Defences:

@avicoder
avicoder / Wifi Hotspot
Created Apr 23, 2015
Windows Wifi Hotspot { wifi name : Paladion-Hotspot, Password : paladion123!}
View Wifi Hotspot
netsh wlan set hostednetwork mode=allow ssid=Paladion-Hotspot key=paladion123!
netsh wlan start hostednetwork
View gist:a7b3747ceafdab3e808a
* { outline: 2px dotted red }
* * { outline: 2px dotted green }
* * * { outline: 2px dotted orange }
* * * * { outline: 2px dotted blue }
* * * * * { outline: 1px solid red }
* * * * * * { outline: 1px solid green }
* * * * * * * { outline: 1px solid orange }
* * * * * * * * { outline: 1px solid blue }