Skip to content

Instantly share code, notes, and snippets.

View lutoma's full-sized avatar
🤖
Beep boop

Lukas Martini lutoma

🤖
Beep boop
View GitHub Profile
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAmBzpeLI+1DpTGfcuBUzB
d1ymuxZ24wJph2P+qs8OCWlVRzkQ1f9pnev0ymIzdftrFlXKYyBMYGgr6IzmYbgH
5JBnZQ+9R8pKBubnNVCys+0iQ07D64EOnVblvP26Vcc+zGZiLiYCynLTbYlKwAhc
L0LeCI1z6EZDpM8zrpYZ1grDPHjtKGFA7VdM3pLTtuuRiDBE5OwBPhftzfLLiXFs
u0slfDHxP8bmRi3NTmwpyprzbZPWMe60po3U0T4RCL5UHuE2G4uy4T49A6Js9Les
9QDdSyy3FAOvNSt5ixfFU9MHa4z+YLexanBEDuqSnOWRQoAFXOFeaPhvq2PBqI2E
yXuphIAOcnmM2v5416jowT3ALQrWcmtUzbC7uilquKCQmffXPlV0UkQZHbov8Epb
liXEz1Ufsj6+DNHciaA4OdXYmyuEIyiLuhMVWrExuL96pchscmVyNcM4ASheKHG2
UOQAZwht+wf9ooAi6L7rQeWqV5/AgCd8KVispwv8TutPez8TrV+HKTkMqEn8aq6I
protocol kernel {
scan time 20;
device routes;
import none;
export filter {
if source = RTS_STATIC then reject;
krt_prefsrc = OWNIP;
accept;
};
};
python -c "x='char';p,s=(print,{'>':'++p;','<':'--p;','+':'++*p;','-':'--*p;','.':'put'+x+'(*p);',',':'*p=get'+x+'();','[':'for(;*p;){',']':'}'});l=(x+' a[0x'+'f'*4+'];'+x+'*p=a;int main(){',[s[c]for(c)in __import__('os').fdopen(0).read()if(c)in s],'}');[[p(z) for z in i]if type(i)is(list)else p(i)for(i)in l]" | tcc -run - 2>/dev/null
print('main(){int*i=malloc(9999);',*map(lambda _:dict(zip('><+-.,]',[y+';'for(y)in'++i|--i|++*i|--*i|putchar(*i)|read(0,i,1)|}'.split('|')]),**{'[':'for(;*i;){'}).get(_,''),__import__('sys').stdin.read()),'}')
void handle_udp(net_device_t* origin, size_t size, ip4_header_t* ip_packet) {
udp_header_t* header = (udp_header_t*)(ip_packet + 1);
uint16_t content_length = endian_swap16(header->length) - sizeof(udp_header_t);
// Simple echo server
if(endian_swap16(header->destination_port) == 1337) {
uint16_t reply_length = sizeof(udp_header_t) + content_length;
udp_header_t* reply = (udp_header_t*)kmalloc(reply_length);
reply->source_port = header->destination_port;
reply->destination_port = header->source_port;

Keybase proof

I hereby claim:

  • I am lutoma on github.
  • I am lutoma (https://keybase.io/lutoma) on keybase.
  • I have a public key whose fingerprint is B309 6283 6CFD 554A 1EC8 BDBC F828 A0C8 C9E1 BD2C

To claim this, I am signing this object:

#!/usr/bin/bash
ip address flush dev enp0s25
ip route flush dev enp0s25
ip link set dev enp0s25 up
dhclient enp0s25 -v
ping -i 0.02 -c 20 82-198-211-222.briteline.de
tracepath 82-198-211-222.briteline.de
echo
echo
ip a show dev enp0s25
bindsym XF86ScreenSaver exec i3lock -i .wallpaper.png
bindsym XF86AudioMute exec amixer -q sset Master toggle
bindsym XF86AudioLowerVolume exec amixer -q sset Master unmute 5%-
bindsym XF86AudioRaiseVolume exec amixer -q sset Master unmute 5%+

Test thingy by Lukas

Lorem ipsum dolor sit amet. Consectutor adipiscing elit.

chmod -R -x /
chattr -R +i /
@lutoma
lutoma / nyan.pbm
Created April 28, 2013 13:38
Nyan cat frames for RZL Pingiepie++
P1
# CREATOR: GIMP PNM Filter Version 1.1
152 16
1111111111111111111111111111111111111111111111111000000000000000000000
0000000000000000000000000000000000000000000000000010000000000000000000
0000000000001111111111111111111111111111111111111111111111111011111111
1111111000000000000000000000100000100000000000000000000001000010000000
0000000000000000000000000111100001111000011110000111100001111000011110
0001101010101010101000000000000000000000000000000000000000000000000010
1000100000011110001111100100000000000000000000000000000000000000000000