blob: 20f6514d339468b9fee514a1b404332cccba087e (
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
|
!alias !savealias !leetappend %~/files/useraliases 10 !alias %s
!alias !reload !raw quit :reload
!alias !addlink !leetappend /var/www/hacking.allowed.org/links.txt 10 %s (~%u)
!alias !drop !say %u: Dropping shell right now, type exit when done.
!alias !dig !c dig %s
!alias !more !tailunlock %~/files/cmd_out
!alias !ping !say pong
!alias !ec !eval %~/scripts/evalcommand %s
!alias !lambda !ec echo -ne 'SegFault: alias !tmp %s\n!tmp\n'
!alias !pymath !c python -c 'import math;print(%s)'
!alias !reset !kill 9 -1
!alias !up !c uptime
!alias !randip !c perl -le '$,=".";print map int rand 256,1..4;' %s
!alias !jarg !c cat /var/www/hacking.allowed.org/docs/jarg447.txt | XuntilY "^:%s" "^:." | tail -r | tail -n+2 | tail -r
!alias !jargcheck !c cat /var/www/hacking.allowed.org/docs/jarg447.txt | XuntilY "^:%s" "^:." | tail -r | tail -n+2 | tail -r | wc -l
!alias !links !c grep "%s" /var/www/hacking.allowed.org/links.txt
!alias !lambda !ec echo -ne '%m: alias !tmp %s\n!tmp\n'
!alias !nlinks !links -c" "%s
!alias !topic !rc echo "TOPIC %f :%s (set by %u at $(date -u "+%%b %%m %%R") UTC)"
!alias !pty !c python -c 'import pty;pty.spawn("/usr/pkg/bin/bash")'
!alias !you !rc if [ "%s" = "there" ] || [ "%s" = "there?" ]; then printf "PRIVMSG %f :\x01ACTION is totally here\x01\n"; else echo "PRIVMSG %f :no, you %s" | tr '?' '!'; fi
!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
!alias !addtodo !leetappend /var/www/hacking.allowed.org/todo.txt 10 "%s"
!alias !todo !c cat -n /var/www/hacking.allowed.org/todo.txt | shuffle -f-| head -n1
!alias !diddo !c sed '%sd' /var/www/hacking.allowed.org/todo.txt > /var/www/hacking.allowed.org/todo.txt_;cat /var/www/hacking.allowed.org/todo.txt_ > /var/www/hacking.allowed.org/todo.txt
!alias !todos !c cat -n /var/www/hacking.allowed.org/todo.txt
!alias !ntodo !c wc -l /var/www/hacking.allowed.org/todo.txt
!alias !greptodo !c grep "%s" /var/www/hacking.allowed.org/todo.txt
!alias !myaddtodo !leetappend /var/www/hacking.allowed.org/todo/%u.txt 10 "%s"
!alias !mytodo !c cat -n /var/www/hacking.allowed.org/todo/%u.txt | shuffle -f-| head -n1 2>/dev/null || echo "You've got nothing todo today, but smile."
!alias !mydiddo !c sed '%sd' /var/www/hacking.allowed.org/todo/%u.txt > /var/www/hacking.allowed.org/todo/%u.txt_;cat /var/www/hacking.allowed.org/todo/%u.txt_ > /var/www/hacking.allowed.org/todo/%u.txt
!alias !mytodos !c cat -n /var/www/hacking.allowed.org/todo/%u.txt 2>/dev/null || echo "You've got nothing to do today, but smile."
!alias !myntodo !c wc -l /var/www/hacking.allowed.org/todo/%u.txt 2>/dev/null || echo "You've got nothing todo today, but smile."
!alias !mygreptodo !c grep "%s" /var/www/hacking.allowed.org/todo/%u.txt 2>/dev/null || echo "You've got nothing todo today, but smile."
!alias !mytodoadd !myaddtodo %s
!alias !tell !c false
!alias !ask !c false
!alias !messages !c false
!alias !help !say unknown command: !help. try !help
!alias !mytododel !mydiddo %s
!alias !mytodogrep !mygreptodo %s
!alias !mygreptodo !c cat -n /var/www/hacking.allowed.org/todo/%u.txt 2>/dev/null | grep -i "%s" || echo "You've got nothing todo today, but smile."
!alias !tmplink !c echo '<a href="%s">%s</a>' > /var/www/hacking.allowed.org/tmplink.html
!alias !title !c wget -qO- %s | tr '>' '\n' | XuntilY "<title" "</title"| sed 's/<.*$//'
!alias !tmplink !c echo '<meta http-equiv="refresh" content="0;url=%s">' > /var/www/hacking.allowed.org/tmplink.html
!alias !links !c if [ "%s" ];then grep "%s" /var/www/hacking.allowed.org/links.txt;else echo http://hacking.allowed.org/links.txt;fi
!alias !seen !c false
!alias !mytodocount !myntodo
!alias !rmuseralias !c rmln %s %~/files/useraliases
!alias !useraliases !c cat -n %~/files/useraliases %s
!alias !duplicateuseraliases !c cut '-d ' -f2 %~/files/useraliases | uniq -d
!alias !grepuseraliases !useraliases | grep %s
!alias !mytodo !c nr="%s"; test -z "$nr" && nr=1; cat -n /var/www/hacking.allowed.org/todo/%u.txt | shuffle -f-| head -n $nr 2>/dev/null || echo "You've got nothing todo today, but smile."
!alias !tits !say [ . | . ]
!alias !geo !c whob %s | egrep "^Country:|^City"
!alias !dcc !rc echo -e "privmsg %u :\x01DCC SEND $(basename %s) `dcchelper %h` 12345 `wc -c "%s" | sed 's/ //g'`\x01";ncat -l -p 12345 < "%s"
!alias !diddo rmln %s /var/www/hacking.allowed.org/todo.txt
!alias !title !c wget --no-check-certificate -qO "%s" | tr '>' '\n' | XuntilY "<title" "</title"| sed 's/<.*$//'
!alias !title !c wget --no-check-certificate -qO- "%s" | tr '>' '\n' | XuntilY "<title" "</title"| sed 's/<.*$//'
!alias !suicide !kill -9 %p
!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 !builtins !aliases
!alias !help !say !builtins !aliases
!alias !cinit !leettail 56%~/files/cmd_out
!alias !cat !leettail 28%s
|