summaryrefslogtreecommitdiff
path: root/files/useraliases
blob: beb5b6a6aa00dcc6b52940f0573a5a14c3ffdde6 (plain) (blame)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
!alias !savealias !leetappend %~/files/useraliases 10 !alias %s
!alias !reload !raw quit :reload
!alias !addlink !leetappend /var/www/sites/hacking/links.txt 10 %s (~%n)
!alias !more !tailunlock %~/files/cmd_out
!alias !shmore !tailunlock %~/files/sh_out
!alias !ping !say pong
!alias !ec !eval %~/scripts/evalcommand %s
!alias !lambda !ec echo -ne 'SegFault: alias !tmp %q\n!tmp\n'
!alias !pymath !c python -c 'import math;print(%q)'
!alias !reset !kill 9 -1
!alias !up !c uptime
!alias !randip !c perl -le '$,=".";print map int rand 256,1..4;' '%q'
!alias !jarg !c cat /service/gitd/jargon/jarg.txt | XuntilY '^:%q' '^:.' | tail -r | tail -n+2 | tail -r
!alias !jargcheck !c cat /service/gitd/jargon/jarg.txt | XuntilY '^:%q' "^:." | tail -r | tail -n+2 | tail -r | wc -l
!alias !topic !rc echo 'TOPIC %f :%q (set by %n at '"$(date -u "+%%b %%m %%R") UTC)"
!alias !pty !sh python -c 'import pty;pty.spawn("/usr/pkg/bin/bash")'
!alias !escape_sequences !c grep "//here" /root/services/segfault/segfault.c
!alias !irc !eval %~/scripts/ircrawcommand %s
!alias !ic !eval %~/scripts/irccommand %s
!alias !reeval !eval %~/files/useraliases

######### the todo shit #########
!alias !todo !c cat -n '/var/todo/%n.txt' | shuffle -f-| head -n1
!alias !todo.add !leetappend '/var/todo/%n.txt' 10 '%q'
!alias !todo.claim !c ln '/var/todo/%q.txt' '/var/todo/%n.txt'
!alias !todo.get !c head -n '%q' '/var/todo/%n.txt' | tail -n1
!alias !todo.grep !c cat -n '/var/todo/%n.txt' | grep -i '%q'
!alias !todo.gopher !c echo "gopher://$(rdns "$(hop0 "%h")")/1/todo/"'%n'".txt"
!alias !todo.link !say http://hacking.allowed.org/todo/%n.txt
!alias !todo.list !c cat -n '/var/todo/%n.txt'
!alias !todo.length !c wc -l '/var/todo/%n.txt'
 There's a real tab right....  v-- there.
!alias !todo.n !todo.grep ^ *%s	
!alias !todo.rm !c rmln '%q' '/var/todo/%n.txt'
!alias !todo.who !c ls -i /var/todo | sort | clump
########## the end of that shit #########

########## the useraliases shit #########
!alias !rmuseralias !c rmln '%q' %~/files/useraliases
!alias !useraliases !c cat -n %~/files/useraliases
!alias !duplicateuseraliases !c cut '-d ' -f2 %~/files/useraliases | uniq -d
!alias !grepuseraliases !c cat -n %~/files/useraliases | grep '%q'
!alias !useralias.rm !c rmln '%q' %~/files/useraliases
!alias !useralias.list !c cat -n %~/files/useraliases
!alias !useralias.dups !c cut '-d ' -f2 %~/files/useraliases | uniq -d
!alias !useralias.grep !c cat -n %~/files/useraliases | grep '%q'
########## the end of taht shit #########

!alias !tmplink !c echo '<meta http-equiv="refresh" content="0;url='$(echo '%q' | encode_html_entities)'">' > /var/www/sites/hacking/tmplink.html
!alias !links !c if [ '_%q' != '_' ];then grep -i '%q' /var/www/sites/hacking/links.txt;else echo http://"$(rdns "$(hop0 '%h')")"/cgi-bin/links.cgi;fi
!alias !tits !say [  . | .  ]
!alias !geo !c whob '%q' | egrep "^Country:|^City"
!alias !dcc !rc p="$[45000 + ($RANDOM % 20000)]";echo -e 'privmsg %n :\x01DCC SEND '"$(basename '%q')" "$(dcchelper $(gethostbyname %h))" "$p" "$(wc -c '%q'|tr -s ' '|cut '-d ' -f2)\x01";ncat -l -p "$p" < '%q'
!alias !title !c wget --no-check-certificate -qO- '%q' | tr '>' '\n' | XuntilY "<title" "</title"| sed 's/<.*$//'
!alias !suicide !kill 9 %p
!alias !pingout !kill 17 %p
!alias !built-ins !c grep strncmp /root/services/segfault/segfault.c | grep '"' | grep msg | tail -n+1 | cut '-d"' -f2 | tr '\n' ' ' | tr -s ' '
!alias !help !say try: !builtins and !aliases
!alias !cinit !leettail 56%~/files/cmd_out
!alias !cat !leettail 28%s
!alias !^C !c 
!alias !pid !say %p
!alias !cloudflare !say cloudflare == cloudlog || cloudsniff || cloudinject
!alias !twit !c TTYtter -keyf=/home/segfault/.ttytterkey
!alias !fact _
!alias !fact-set _
!alias !fact-update _
!alias !fact _
!alias !fact-set _
!alias !fact-update _
!alias !help1 !say %%host %h %%user %u %%from %f %%nick %n
!alias !addtarget !leetappend /home/segfault/files/targets 10 %s
!alias !seen !say .seen %s
!alias !modehelp !c grep '^  %q' /usr/local/src/ngircd-21.1/doc/Modes.txt
!alias !F !pymath (%s)*(9.0/5.0)+32
!alias !C !pymath (%s-32)*(5.0/9.0)
!alias !howtome !c hop0 %h
!alias !twit !leetappend /home/segfault/files/twit_in 10 %s
!alias !perl !c perl -e '%q'
!alias !twit.follow !leetappend /home/segfault/files/twit_in 10 /follow %s
!alias !hardreset !eval /home/segfault/scripts/hardreset
!alias !C2F !pymath %s * 9 / 5 + 32
!alias !F2C !pymath (%s - 32) * 5 / 9
!alias !unbantor !c /home/mkz/ban_tor nevermind
!alias !bantor !c /home/mkz/ban_tor I am sure
!alias !subseg !eval /home/segfault/scripts/subseg %s
!alias !isup !c wget -q 'http://www.downforeveryoneorjustme.com/%q' -O- | grep "just you" | cut '-d<' -f1
!alias !r !leetappend /service/segfault-link/a/files/log 10 %s
!alias !untail !leetuntail %f %s
!alias !tpb !c tpb.sh '%q'
!alias !randip !c whob $(dig -p 5353 whotoscan +short) | egrep "^IP:|^Country:"
!alias !ipgamescore !c cat /var/www/sites/hacking/iplog.txt |sort | uniq | grep -c ' user=%q$'
!alias !quit !hardreset
!alias !stop !hardreset
!alias !wtf !c /usr/games/wtf '%q'
!alias !stealnick !ec printf '!raw kill %q :my nick\n!nick %q\n'
!alias !killme !raw kill %n :%s
!alias !demorse !c echo '%q' | /usr/games/morse -d
!alias !enmorse !c /usr/games/morse -s '%q' | tr '\n' ' '
!alias !sayp !c lua /home/segfault/scripts/cowsay.lua '%q'
!alias !fuckme !raw kick %f %n :fuck you
!alias !areacode !c grep '^%q' /usr/local/share/misc/areacodes || echo nothing found
!alias !myip !c wget -qO- http://blackcatz.org/ip
!alias !tailpipe 24%s
!alias !fuck !raw kill %n :no. you can fuck %s
!alias !op !raw kill %n :what are you? dumb? did you not see that +o I gave you when you joined!?!?
!alias !finger !c finger '%q'
!alias !dig !c dig +short '%q'
!alias !draw !c echo '%q' | turn2line | lineplot | grep "[^ ]"
!alias !polls !c head -n1 /var/polls/*/question
!alias !poll !c cat '/var/polls/%q/question'
!alias !results !c cat '/var/polls/%q/votes' | awk -F: '{print $2, $1}' | clump
!alias !vote !c /var/polls/vote '%n' '%q'
!alias !link.add !addlink '%q'