Skip to content

Instantly share code, notes, and snippets.

View artdvp's full-sized avatar

Art dvp artdvp

  • Thailand
View GitHub Profile
@artdvp
artdvp / cve-2015-0240_samba_exploit.py
Created March 5, 2018 16:25 — forked from worawit/cve-2015-0240_samba_exploit.py
Exploit for Samba vulnerabilty (CVE-2015-0240)
#!/usr/bin/python
"""
Exploit for Samba vulnerabilty (CVE-2015-0240) by sleepya
The exploit only targets vulnerable x86 smbd <3.6.24 which 'creds' is controlled by
ReferentID field of PrimaryName (ServerName). That means '_talloc_zero()'
in libtalloc does not write a value on 'creds' address.
Reference:
- https://securityblog.redhat.com/2015/02/23/samba-vulnerability-cve-2015-0240/
@artdvp
artdvp / download_egghead_videos.md
Created December 9, 2017 12:22 — forked from ldong/download_egghead_videos.md
download egghead videos

Download videos from egghead

Go to the egghead website, i.e. Building a React.js App

run

$.each($('h4 a'), function(index, video){
  console.log(video.href);
});
@artdvp
artdvp / README.md
Created November 12, 2017 07:42 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet