-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkernelpoggers.c
More file actions
51 lines (47 loc) · 2.56 KB
/
kernelpoggers.c
File metadata and controls
51 lines (47 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Alessandro \"Sgorblex\" Clerici");
MODULE_DESCRIPTION("Print POGGERS when the module loads");
MODULE_VERSION("1.0");
static int __init print_message_init(void) {
printk(KERN_INFO
" .:;+++++++;:. .::;;+++;:.\n"
" .;=========+++++;:. .;=========+++;;;;;:.\n"
" :+===x=++++++=====++++;;::+=========+;++++==++;:.\n"
" :+====;;+======;;+;;;++++++++++;;=+;;+++==xxxxxxx=+;;.\n"
" ;+====+======;;++=xX&########$X=+;:==;=$###########&&X=:\n"
" +++=========;+=;x###########$=;;+=Xx+;&##########=. .+&x.\n"
" ;++=========+++=###########&: ;&+$#########;.= :+. :#$\n"
" .+++=======;x&##############; ;$ +$X. =#;#########. : X#x .#&\n"
" :+++=======+=xX&############; =$X. =#;$########$:.. .$#x\n"
" +++============++X###########; :. +#X;++X&#######$xxx$#X;\n"
".+++============+==+x&#########&x=+=X#$;+====++=xxxXXXXx==+;\n"
".+++=============;;+=++=x$&######&$x=+;;======++;+++++++;:.\n"
":+++==============x=+;++++++++++++==+;;================+;.\n"
":+++======================++++++;;;+===========xx=====xx===+.\n"
":+++===============================x==++++++++++++++++++++++:\n"
":+++==========================++++++==xxXXXXxx=========xXXXx.\n");
printk(KERN_INFO
":+++=====================++++=xXXXxx=+=======xXX$&&&&&&;xX+.\n"
".++++================;;+=xXXx=+++++=xxxXXXXXXXXXX$&&&&==X:\n"
" ++++================:XXX++;;+=xxxxxxxxXXXXXXXXXX$&&&==X=\n"
" ;+++===============x:Xx:+=====xxxxxxxxXXXXXXXXXX$&&&+xX=\n"
" :++++===============:x=:=====xxxxxxxXXXXXXXXXXX$&&&&=xX=\n"
" +++++===============:X=;;+xxxxxxxxXXXXXXXXXXX$&&&&&x+Xx\n"
" .++++================;xXX+;xxxxxXXXXXXXXXXX$&&&&&&&$;xx\n"
" :++++================++xXx;=XXXXXXXXXXX$$&&&&&&&&&&:Xx\n"
" .+++++================;+XX=+=XXXXX$$$&&&&&&&&&&&&&;Xx\n"
" ;++++=================;=xXx++=$&&&&&&&&&&&&&&&&X;Xx\n"
" .;++++=================++=xXx===x$&&&&&&&$Xx===XXx\n"
" .;++++==================+++xXXX==+======xxXXXx=:\n"
" .:;++++==================+++++++====++++++;.\n"
" .::;;+==========================x==+:.\n");
return 0;
}
static void __exit print_message_exit(void) {
printk(KERN_INFO "POGGERS out. Peace.\n");
}
module_init(print_message_init);
module_exit(print_message_exit);