Skip to content

Instantly share code, notes, and snippets.

View stefan2904's full-sized avatar
🚲
¯\_(ツ)_/¯

Stefan stefan2904

🚲
¯\_(ツ)_/¯
View GitHub Profile
@stefan2904
stefan2904 / signedWebsite.html
Created September 11, 2015 09:45
hidden signatures on websites. don't trust the rendered version, though!
<!DOCTYPE html>
<html>
<head>
<title>This is a signed website, isn't it?</title>
</head>
<body>
<h1>This is a signed website, isn't it?</h1>
<p>
<!--
@stefan2904
stefan2904 / firefox.txt
Created September 16, 2015 13:06
Ach, firefox ...
1 [||||||||||||||||||||||||||||||| 49.5%] Tasks: 88, 215 thr; 2 running
2 [||| 2.8%] Load average: 0.71 0.81 0.85
3 [||||||||||||| 19.3%] Uptime: 2 days, 04:55:32
4 [|||||||||||||||||||||| 34.1%]
Mem[||||||||||||||||||||||||||||||||||||||||||||||||||5377/7907MB]
Swp[| 1/8115MB]
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
1659 s 20 0 28.6G 3418M 114M S 0.0 43.2 0:00.38 /usr/lib/firefox/firefox
@stefan2904
stefan2904 / english.md
Last active September 28, 2015 19:36
Advanced Computer Networks

Broadband networks:

  • recap of basics: Hierarchical network models, internetworking
  • SONET/SDH, Frame Relay, DQDB, ATM

Network security:

  • Firewalls
  • Common network attacks
  • Network intrusion detection

The course aims to recap the basics of computer networks. In an introductory part, computer networks are described in a "classical" way.

@stefan2904
stefan2904 / losfuzzys.md
Created October 27, 2015 15:31
[2015-10-29] First LosFuzzys/CTF Meetup

Hi everyone interested in exciting IT Security competitions,

if some of you can't get enough of finding vulnerabilities in web applications or C programs, like in the SASE exercises, like to play with crypto or forensics puzzles, there exists a possibility to put your skills to the test: capture the flag!

Capture the Flag (CTF) is a special kind of information security competitions. (More on CTFs in general: https://ctftime.org/ctf-wtf/ ) In short: hack stuff, patch stuff, get points, learn!

LosFuzzys is our CTF team, and to organize ourself better we hereby propose a (bi?)monthly LosFuzzys/CTF meetup!

@stefan2904
stefan2904 / r3doombutton.py
Created November 1, 2015 23:45
realraum zeromq listener
#!/usr/bin/python
# -*- coding: utf-8 -*-
from r3zmq import r3zmq
import requests
########################
# r3doombutton-to-irc connector (aka r3zmq demo)
# by verr
HOOKURL = '<limnoria r3hook url>'
@stefan2904
stefan2904 / foo.txt
Last active November 2, 2015 01:33
no inodes no more ...
pi@thinkpi ~ % df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.7G 2.6G 843M 76% /
devtmpfs 87M 0 87M 0% /dev
tmpfs 19M 236K 18M 2% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 37M 24K 37M 1% /run/shm
/dev/mmcblk0p1 56M 19M 38M 34% /boot
pi@thinkpi ~ % df -hi

LosFuzzys' Manifesto

LosFuzzys is a group of people interested in information security, which occasionally participates in CTFs.

Our interest in information security and technology in general is also our biggest motivation. We love challenges and CTFs provide a great way of practising information security related skills and also team-work in diverse teams. CTFs are collaborative and competitive at the same time and most importantly, they are fun.

LosFuzzys welcomes people with different skill levels; a curious beginner is as much welcome as an experienced person. We also embrace different skill sets and diverse backgrounds.

  • We believe in information sharing, open knowledge, in a responsible way.
  • We believe in privacy and respect the privacy of others.
@stefan2904
stefan2904 / README.md
Last active November 10, 2015 14:39
how to renew a letsencrypt-issued certificate

Locations

Certs and keys are in /etc/letsencrypt/live/

Webserver config

Point the webserver directly to the cert and key in the live folder, since it is updated during renewal. For example in a node.js app:

@stefan2904
stefan2904 / python
Last active November 17, 2015 13:50
all good
>>> def a():
... print('a evaluated')
...
# case 1: A and B => A True => B evaluated
>>> if True and a():
... print 'we are true'
...
a evaluated
@stefan2904
stefan2904 / gpg_ecc
Last active November 24, 2015 21:33
ECC with GPG1 vs. GPG2
% gpg --fingerprint [email protected]
pub 2048R/A515159AC3423A77 2015-11-24
Key fingerprint = 0909 1401 FCBA F410 738C 28F1 A515 159A C342 3A77
uid Stefan ECC Test <[email protected]>
sub 2048R/CDA44C63D2A1BAB6 2015-11-24
sub 0E/8CC69DA086667FC7 2015-11-24
sub 0e/E21B67DA096EBD9B 2015-11-24
% gpg2 --fingerprint [email protected]