Skip to content

Instantly share code, notes, and snippets.

View doraeric's full-sized avatar

Eric Hsieh doraeric

  • National Taiwan University
  • Taipei, Taiwan
View GitHub Profile
doraeric / myNTU-Search.user.js
Last active February 17, 2023 08:32
Click raw to install the greasemonkey script
// ==UserScript==
// @name myNTU Search
// @version 1.1
// @match*
// @grant none
// ==/UserScript==
document.getElementById('search').onclick = null

In ubuntu 16.04 docker container

Get correct glibc version source code

This is for gdb debug and pwn, reverse

go to launchpad, apt source cannot get specific version, check version by apt-cache policy libc6, the version is 2.23-0ubuntu11, even 0ubuntu11 need to be the same with source. Finally, run dpkg-source -x glibc_2.23-0ubuntu11.dsc.

Only get source:

John the Ripper 1.8.0-jumbo-1


Compile with cuda support, tested with nvidia/cuda:9.0-devel and nvidia/cuda:10.0-devel

docker run --gpus all --rm -i -t -v $(pwd)/JohnTheRipper-1.8.0-jumbo-1:/JohnTheRipper-1.8.0-jumbo-1 nvidia/cuda:9.0-devel bash

apt-get update
dist=$(. /etc/os-release;echo $ID$VERSION_ID)
if [ "$dist" = "ubuntu18.04" ]; then apt-get install -y sudo gcc-4.8 g++-4.8 libssl1.0-dev zlib1g-dev nvidia-opencl-dev
doraeric / create a WiFi hotspot sharing
Last active June 11, 2019 07:51
a note record how to set ubuntu wifi hotspot