Skip to content

Instantly share code, notes, and snippets.

View ygemici's full-sized avatar
🌏
Working working..

Yücel Gemici ygemici

🌏
Working working..
View GitHub Profile
@ygemici
ygemici / gist:f95e53cbc5c7b8612bcbac6d8fe7c4cd
Created December 21, 2020 11:34 — forked from Khoulaiz/gist:41b387883a208d6e914b
Checking ports without telnet

Here are several different ways to test a TCP port without telnet.

$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C

$ cat &lt; /dev/tcp/127.0.0.1/23
#!/bin/sh
# Sample /etc/qemu-ifup to have bridged networking between qemu instances and your real net
# You need "youruser ALL=(root) NOPASSWD: /etc/qemu-ifup" in /etc/sudoers
# You also need enough rights on /dev/tun
BRIDGE=br0
if [ -z "$1" ]; then
exit 1
fi
if [ $UID -ne 0 ]
then
@ygemici
ygemici / ASLR+vsyscall.rst
Created January 3, 2017 20:33 — forked from kholia/ASLR+vsyscall.rst
Notes on ASLR and vsyscall page

Goals

This documents tries to address some concerns with enabling PIE.

Argument 1

One of the criticism of "Using PIE by default on AMD64" is,