summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorEpoch Qwert <epoch@53flpnlls43fcguy.onion>2014-08-03 23:11:52 -0500
committerEpoch Qwert <epoch@53flpnlls43fcguy.onion>2014-08-03 23:11:52 -0500
commitf1e5ad1b43d25c08f3df1cd6cb3b16d2af575458 (patch)
treeeaff6ad6552daf0dc873b35e59215be4ddc9657c /files
downloadsegfault_home-f1e5ad1b43d25c08f3df1cd6cb3b16d2af575458.tar.gz
segfault_home-f1e5ad1b43d25c08f3df1cd6cb3b16d2af575458.zip
initial commit of seghome. :)
Diffstat (limited to 'files')
-rw-r--r--files/log3
-rw-r--r--files/message_in8
-rw-r--r--files/rawlog46
-rw-r--r--files/useraliases39
4 files changed, 96 insertions, 0 deletions
diff --git a/files/log b/files/log
new file mode 100644
index 0000000..3ab5d23
--- /dev/null
+++ b/files/log
@@ -0,0 +1,3 @@
+?
+Aww. Doesn't show nicks in log.
+!record 0
diff --git a/files/message_in b/files/message_in
new file mode 100644
index 0000000..18a0dc9
--- /dev/null
+++ b/files/message_in
@@ -0,0 +1,8 @@
+Hello?
+Oh. That works. :)
+Now to filter the output of rawlog a bit.
+Does that still work?
+I can't see segfault's output while I am segfault. :P
+I'd need another FD redirect then mix it together.
+A multitail?
+BOW DOWN BEFORE YOUR BOTTY OVERLORD!
diff --git a/files/rawlog b/files/rawlog
new file mode 100644
index 0000000..7cc3f98
--- /dev/null
+++ b/files/rawlog
@@ -0,0 +1,46 @@
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :?
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :rawlog works fine...
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :!tails
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :!tail /home/segfault/files/message_in
+:foobaz!~foobaz@1.4.7.7 PRIVMSG #default :a tail from rawlog in #default would be fun
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :!tails
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :!untail /home/segfault/files/message_in
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :!tail /home/segfault/files/message_in
+:foobaz!~foobaz@1.4.7.7 PRIVMSG SegFault :!c printf "hello hello? anybody out there?\n" >> /home/segfault/files/message_in
+:foobaz!~foobaz@1.4.7.7 PRIVMSG SegFault :!c ls -la /home/segfault/files/
+:foobaz!~foobaz@1.4.7.7 PRIVMSG SegFault :!c ls -la /home/segfault/files/message_in
+:foobaz!~foobaz@1.4.7.7 PRIVMSG #default :!c ls -la /home/segfault/files/message_in
+:foobaz!~foobaz@1.4.7.7 PRIVMSG #default :such restrictive
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :Test.
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :asdf
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :I could make segfault have a "restricted" mode.
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :So he'll only accept commands sent to him by himself. :P
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :So it could act more like a client.
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :Take out all the extra commands an IRC client wouldn't need...
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :SegFault, the IRC client that has too many features you'll never know how to use and none of the features you're used to!
+:foobaz!~foobaz@1.4.7.7 PRIVMSG #syslog :!alias !tell !say %s
+:foobaz!~foobaz@1.4.7.7 PRIVMSG #default :SegFault, tell epoch i am just a bot
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :I'll name the IRC client something morbid like meatpuppet
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :Should I make it a mode that segfault can run in or a separate program?
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :ACTION cleans up segfault before forking.
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :Might not have to fork if I make segfault generic enough. :P
+:Guard1an!~Guard1an@2a01:7b8:2000:3d:a515:5380:1bf0:560a PRIVMSG #default :ehlo localhosts
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :Hi.
+:Guard1an!~Guard1an@2a01:7b8:2000:3d:a515:5380:1bf0:560a PRIVMSG #default :epoch: is segfault a bot?
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :Yep.
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :Has enough features I could make him into an IRC client with just scripting though.
+:Guard1an!~Guard1an@2a01:7b8:2000:3d:a515:5380:1bf0:560a PRIVMSG #default :want something similar for vern
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :git clone git://armitage.hacking.allowed.org/segfault
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :Should compile on any sane unix-like.
+:Guard1an!~Guard1an@2a01:7b8:2000:3d:a515:5380:1bf0:560a PRIVMSG #default :this tablet has limited features
+:Guard1an!~Guard1an@2a01:7b8:2000:3d:a515:5380:1bf0:560a PRIVMSG #default :i run into issues each time anything compiles
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :Then tell me and I'll fix it. :)
+:Guard1an!~Guard1an@2a01:7b8:2000:3d:a515:5380:1bf0:560a PRIVMSG #default :heh
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :If you're using Linux, it should compile fine except maybe a missing function like strndup().
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :That one gives me the most trouble and I have a backup commented out.
+:Guard1an!~Guard1an@2a01:7b8:2000:3d:a515:5380:1bf0:560a PRIVMSG #default :will play with it later
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :I'll have to make a ./configure script sometime to test if it exists and send a compile-time option to enable or disable it.
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :!c whob 222.163.192.158
+:epoch!~epoch@127.0.0.1 PRIVMSG #syslog :fuck you china.
+:epoch!~epoch@127.0.0.1 PRIVMSG #default :!reload
+:armitage.hacking.allowed.org NOTICE SegFault :Connection statistics: client 104.7 kb, server 28.5 kb.
diff --git a/files/useraliases b/files/useraliases
new file mode 100644
index 0000000..f26a2dd
--- /dev/null
+++ b/files/useraliases
@@ -0,0 +1,39 @@
+!alias !savealias !leetappend /home/segfault/files/useraliases 10 !alias %s
+!alias !reload !raw quit :reload
+!alias !addlink !leetappend /var/www/hacking.allowed.org/links.txt 10 %s (~%u)
+!alias !reset !kill 9 -1
+!alias !drop !say %u: Dropping shell right now, type exit when done.
+!alias !dig !c dig %s
+!alias !more !tailunlock /home/segfault/files/cmd_out
+!alias !ping !say pong
+!alias !ec !eval /home/segfault/scripts/evalcommand %s
+!alias !lambda !ec echo -ne 'SegFault: alias !tmp %s\n!tmp\n'
+!alias !reset !ec printf "!kill 9 -1\n!c pwd\n"
+!alias !reset !ec printf "!kill 9 -1\n";sleep 1;printf "!c pwd\n"
+!alias !reset !ec printf '!kill 9 -1\n!c pwd\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
+!alias
+!alias
+!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"; fi
+!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 /home/segfault/scripts/ircrawcommand %s
+!alias !ic !eval /home/segfault/scripts/irccommand %s
+!alias !addtodo !leetappend /var/www/hacking.allowed.org/todo.txt 10 "%s"
+!alias !reeval !eval /home/segfault/files/useraliases
+!alias !todo !c shuffle -f /var/www/hacking.allowed.org/todo.txt | head -n1
+!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