Skip to content

Instantly share code, notes, and snippets.

Avatar

Simon Thiboutôt masterT

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am mastert on github.
  • I am lilc4t (https://keybase.io/lilc4t) on keybase.
  • I have a public key ASByBSMHz-otsvW5oSCe_O6BEq_-79Y9wME-s_BO_g81wgo

To claim this, I am signing this object:

View cancelable-promise.js
export class CanceledError extends Error {
constructor (promise) {
super()
if (Error.captureStackTrace) {
Error.captureStackTrace(this, CanceledError)
}
this.promise = promise
this.isCanceled = true
@masterT
masterT / .travis.yml
Created Jan 23, 2018 — forked from willprice/.travis.yml
How to set up TravisCI for projects that push back to github
View .travis.yml
# Ruby is our language as asciidoctor is a ruby gem.
lang: ruby
before_install:
- sudo apt-get install pandoc
- gem install asciidoctor
script:
- make
after_success:
- .travis/push.sh
env:
View challenge-template.md

Challenge {name}

{url}

{description}

Backend

  • Server: {server, version}
  • Language: {language, version}
@masterT
masterT / Quang Ngai.md
Last active Jun 10, 2017
CTF WhiteHat 2017
View Quang Ngai.md

Quang Ngai

You have a data file.

$ file data
data: data
@masterT
masterT / solution.md
Last active Feb 2, 2017
Solution pour la SQLi Are You Rich (HITCON CTF)
View solution.md

52.197.140.254/are_you_rich/verify.php (maintenant indisponible)

En premier il fallait trouver que le chmap était injectable.

Avec des requêtes du genre:

blahblahblahblah' OR 1 = 1 --
@masterT
masterT / README.md
Last active Jul 14, 2016
Install vsftpd 3.0.2 on Ubuntu 14.04.3
View README.md
@masterT
masterT / ex1.ml
Last active Apr 26, 2016
Ocaml Examples
View ex1.ml
let f ?(x = Some("valeur par default")) () =
match x with
| Some (y) -> print_string y
| None -> print_string "None"
;;
(* val f : ?x:string option -> unit -> unit = <fun> *)
f ();;
(* valeur par default- : unit = () *)
@masterT
masterT / instructions.bash
Created Dec 9, 2015
Samba setup for Raspberry Pi Raspbian 8 (jessie)
View instructions.bash
# update package list
sudo apt-get update
# install samba
sudo apt-get install samba samba-common-bin
# to use hfs+ file-system
sudo apt-get install hfsprogs
# list mounted disks, usfull to umount
You can’t perform that action at this time.