first commit

This commit is contained in:
notnull 2019-10-11 08:25:52 -04:00
commit 47cbfb9eab
10 changed files with 592 additions and 0 deletions

52
org/fish.org Normal file
View File

@ -0,0 +1,52 @@
#+TITLE: Using fish encryption with IRC
#+SETUPFILE: ../settings.org
* Fish Irssi for chads
https://github.com/falsovsky/FiSH-irssi
** Installing required packages
- Debian / Ubuntu
~apt-get install build-essential irssi-dev libglib2.0-dev libssl-dev cmake git~
- Archgang
~pacman -S cmake pkg-config glib2 openssl irssi~
** compiling
1. ~git clone https://github.com/falsovsky/FiSH-irssi.git~
2. ~cd FiSH-irssi~
3. ~cmake .~
4. ~make~
5. ~cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .~
6. ~make~
7. ~make install~
(last one may or may not be needed)
** Running
Just type ~/load fish~ in the program.
To have fish load at start-up run ~echo "load fish" >> /home/username/.irssi/startup~
Ran into: fish/core is ABI version 0 but Irssi is version 7, cannot load https://github.com/falsovsky/FiSH-irssi/issues/57
* Hexchat/Ubuntu/Debian
apt install hexchat-plugins
for more info:
https://fishlim.kodafritt.se/ubuntu_install.html
https://github.com/fladd/py-fishcrypt
* To Test fish encryption in APIRC:
/join #fish
/setkey 6CRi5rupyd6XfeKjghiLJ3yHHXCQ56EacFNytS
* Notes
Using Blowfish-ECB isn't a perfect method of encryption.
http://blog.bjrn.se/2009/01/proposal-for-better-irc-encryption.html
FiSH encrypts your messages in ECB mode (in other words, in independent blocks). If the same block appears two times it will be encrypted the same way both times. https://fishlim.kodafritt.se/
Note https://github.com/falsovsky/FiSH-irssi/issues/12 and https://github.com/falsovsky/FiSH-irssi/issues/63

5
org/index.org Normal file
View File

@ -0,0 +1,5 @@
#+TITLE: Anarchy Planet Dox
#+SETUPFILE: ../settings.org
#+OPTIONS: toc:nil
** [[./irc-how-to.org][Anarchy Planet IRC HowTo]]
** [[./projex.org][Projex]]

227
org/irc-how-to.org Normal file
View File

@ -0,0 +1,227 @@
#+TITLE: Anarchy Planet IRC How To
#+SETUPFILE: ../settings.org
Welcome to the Anarchy Planet IRC!
* How to Connect
** web
- https://irc.anarchyplanet.org
** using a client
- irc.anarchyplanet.org port 6667
- irc.anarchyplanet.org port 6697 (SSL)
- km3jy7nrj3e2wiju.onion port 6667 || 6697
** using tor
https://irc.anarchyplanet.org/pad/p/connect-to-apirc-with-tor
* Basic Commands
- ~/nick nickname~ Changes your nick.
- ~/list~ Lists all channels on the current network.
- ~/join #channel~ Joins the specified channel.
- ~/part #channel~ Leaves the specified channel.
- ~/quit [message]~ Disconnects from current server with optional leaving message.
- ~/names #channel~ Shows the nicks of all users on #channel.
- ~/msg nickname message~ Sends a private message to a user.
- ~/query nickname message~ Sends a private message to a user and opens a private chat window.
- ~/me action~ Prints "yourname action"
- ~/notice nickname message~ Sends a notice to the specified user. Like a /msg, but usually makes a sound.
- ~/whois nickname~ Shows information about the specified user. This action is not visible to the specified user.
- ~/whowas nickname~ Shows information about a user who has quit.
* Managing Nicknames (Nickserv)
- ~/msg nickserv register password [email]~ Registers your current nick with NickServ with the chosen password and binds it to an e-mail address (optional).
- ~/msg nickserv identify password~ Identifies your nick to NickServ using the password you set.
- ~/msg nickserv recover nickname password~ Kills (forcibly disconnects) someone who has your registered nick.
- ~/msg nickserv ghost nickname password~ Terminates a "ghost" IRC session that's using your nickname.
- ~/msg nickserv set password yournewpassword~ Changes your password. NOTE: Under no circumstances should you change your nick to the letter O followed by 8 digit
* Managing Channels (ChanServ)
~/msg chanserv register #channel~ Registers the current channel to you with ChanServ
~/msg chanserv set #channel mlock modes~ Locks the channel's modes. To unlock all of a channel's modes, use ~/msg chanserv set #channel mlock +~
* Moderating Channels
~/kick nickname!userid@hostname~
removes user from channel, but does not ban them. They are able to join immediately.
~/ban nickname!userid@hostname~
bans user from channel, but does not kick them. They are prevented from speaking but can still see the channel.
~/kickban nickname!userid@hostname~
Use ~/whois~, ~/whowas~ or ~/who~ to find the information necessary for a ban.
note: ~*~ is a wildcard and can replace nickname, userid, parts of nickname or userid, hostname or a segment of a hostname.
~/mode #channel +b nickname!userid@hostname~
the same as /ban
* Ban Examples:
~joe!*@*~
Will prevent anyone with the nick joe from joining.
~*myg0t*!*~
Will prevent anyone whose nick contains myg0t from joining.
~mark!*elc@*~
Will prevent anyone with the nick mark and the userid elc from joining.
~*!*@c-123-24-76-213.ga.isp.net~
Will prevent anyone with the host c-123-24-76-213.ga.isp.net from joining.
~*!*@*~
Bans everyone. Don't do that.
* Advanced Commands for the uberl337
** Advanced NickServ commands
*** User modes
~/mode nickname +/-attributes [data]~
Setting people's modes (for current channel only). To set a user's mode outside of a channel, use ~/mode nickname #channel +/- attributes~
Some of the more important ones are:
~+q~ User is owner of the current channel (prefix ~ or @)
~+a~ User is an admin (SOP) on the current channel (prefix & or @).
~+o~ User is an operator (AOP) on the current channel (prefix @).
~+h~ User is a half-op on the current channel (prefix %).
~+v~ User has voice on the current channel (prefix +).
For a complete list of user modes visit https://wiki.inspircd.org/User_Modes
** Advanced Chanserv commands
~/msg chanserv set #channel secure [on|off]~
Keeps everyone except aops, sops, and the founder from becoming ops.
~/msg chanserv set #channel keeptopic [on|off]~
Maintains the topic even if everyone leaves.
~/msg chanserv set #channel enforce [on|off]~
Restores op/halfop/voice if a person with op/halfop/voice gets de-opped/halfopped/voiced.
~/msg chanserv set #channel leaveops [on|off]~
Whether or not to allow the first person who join the channel to get ops.
~/msg chanserv drop #channel [dropcode]~
Un-registers the current channel to you with ChanServ.
~/msg chanserv set #channel founder [nickname]~
Sets the current channel's founder.
~/msg chanserv set #channel desc [description]~
Changes the current channel's description.
~/msg chanserv set #channel url [address]~
Associates a URL with the channel.
~/msg chanserv set #channel [email@address]~
Associates an email address with the channel.
*** Channel modes
~/mode #channel +/-attribute [data]~
For a full list of Inspircd's channel modes visit https://wiki.inspircd.org/Channel_Modes
** Access lists
~/msg chanserv access #channel add [nickname] [level]~
Adds nickname to the channel's access list at the specified level.
~/msg chanserv access channel del [nickname]~
Removes nickname from the channel's access list.
~/msg chanserv access #channel list~
Displays the channel's access list.
~/msg chanserv access #channel count~
Displays how many entries are in the channel's access list.
** Access levels
These may vary from network to network. For example, some networks do not go by tens and use 3, 4, 5, 10, etc.
Founder
Full access to ChanServ functions, automatic opping upon entering channel.
100+
Makes the person an SOP, automatic opping upon entering channel.
50
Makes the parson an AOP, automatic opping upon entering channel.
40
Automatic half-opping.
30
Automatic voicing.
0
No special privileges.
-1
May not be opped.
-100
May not join the channel.
Any nick not on the access list has an access level of 0.
** AOPs
Are automatically ops and can give themselves ops.
Can give/take op/halfop/voice to/from other channel members.
Can unban themselves.
Receive memos sent to the whole channel.
Can invite themselves to the channel.
** SOPs
- Can do everything AOPs can.
- Can give and take AOP privileges.
- Receive memos sent to the channel's SOPs.
- Can add (but not remove) AKICKs.
** Viewing and setting privileges
*** Viewing AOP and SOP lists
~/msg chanserv aop #channel list~
~/msg chanserv sop #channel list~
Add an AOP or SOP
~/msg chanserv [AOP|SOP] channel [ADD|DEL|LIST|CLEAR] [nick | entry-list]~
*** AKICKs
People on the AKICK list are automatically kicked and banned when they enter the channel. Bans made as a result of AKICK must be removed manually.
~/msg chanserv akick #channel add host [reason]~
Adds host to #channel's AKICK list [for reason].
~/msg chanserv akick #channel del host~
Removes host from the AKICK list.
~/msg chanserv akick #channel list~
~/msg chanserv akick #channel view~
Displays the AKICK list.
*** Color codes
It's possible to color your text in irc. in most clients you can use control c then foreground,background (background is optional). examples: red text ^c4. black text on a blue background ^c1,2. here's a full list of the color codes:
```
Number Name
00 white
01 black
02 blue (navy)
03 green
04 red
05 brown (maroon)
06 purple
07 orange (olive)
08 yellow
09 light green (lime)
10 teal (a green/blue cyan)
11 light cyan (cyan / aqua)
12 light blue (royal)
13 pink (light purple / fuchsia)
14 grey
15 light grey (silver)
```
Edit this guide: https://irc.anarchyplanet.org/pad/p/dox-irc-how-to

40
org/irc-tor.org Normal file
View File

@ -0,0 +1,40 @@
#+TITLE: Connect to IRC with Tor
#+SETUPFILE: ../settings.org
* Debian
** hexchat
Two options:
- set up a 'global' proxy that applies to every hexchat connection, which can be overridden
- set up a 'local' proxy that only applies to one connection.
1. Install Tor Browser
2. Settings > Preferences > Network setup
- hostname: 127.0.0.1
- port: 9150
- type: socks5
- user proxy for: all connections <<< I can't find this option
3. HexChat > Network List > Add
- name it whatever
- servers > add > km3jy7nrj3e2wiju.onion/6667
- leave all checkboxes blank
- close > connect
** irssi
1. install irssi
2. cat irssi-tor => proxychains-ng/proxychains4 -f src/proxychains.conf irssi --home ~/.irssi-tor
more info? https://trac.torproject.org/projects/tor/wiki/doc/TorifyHOWTO/irssi
* Connect to freenode w/ Tor
You need to generate a certificate from your computer and add it to IRC.
- From the command line:
- cd to .config/hexchat/certs
- openssl req -x509 -new -newkey rsa:4096 -sha256 -days 1000 -nodes -out freenode.pem -keyout freenode.pem - generates a self-signed certificate
- openssl x509 -in freenode.pem -outform der | sha1sum -b | cut -d' ' -f1 - generates a fingerprint (i.e. public key sorta)
- the certificate file has to have the same name as the name of the network in your client
- in IRC:
- connect to freenode server
- /msg nickserv cert add <fingerprint>
- set auth to sas exteral
- have tor running while you connect

46
org/novatore.org Normal file
View File

@ -0,0 +1,46 @@
#+TITLE: Novatore the bot how-to
#+SETUPFILE: ../settings.org
* Getting started
1. Register with novatore:
~/msg novatore register <your nick or any nick> <shittypassword>~
2. Identify with novatore when you log in:
~/msg novatore identify <nick you registered with> <shittypassword>~
* Adding RSS Feeds
You need to have a bot 'op' capability from novatore for the channel you want to auto announce a feed in. pm nn w/ the nick you used to register with novatore.
To add the feed: ~@rss add <feedname> <feed address>~
To fetch the latest entries: ~@feedname~
To auto-announce feed entries: ~@rss announce add <feedname>~
e.g., to add theanarchistlibrary rss feed to the #library, channel, inside of the #library channel type the following commands:
~@rss add library http://theanarchistlibrary.org/feed~
~@rss announce add library~
** Some useful commands to learn more about rss feeds:
To see all commands of the rss plugin: ~@list rss~
You can get more detailed instructions for subcommands like: ~@help rss add~
To learn more Novatore commands without spamming the channel, you can:
- create a private conversation with Novatore using ~/query novatore~
- You don't need to prefix commands with @ in a private chat
- ~/join #anarchybots and use commands with @~
** Adding and Translating Feeds in Different Languages
Novatore has a comand @google translate <fromLanguage> <toLanguage>
- configure
** Read more
The best Supybot guide (for those who love to RTFM*): https://hoxu.github.io/supybook/latest/
[1] RTFM = read the fine manual
* MessageParser
https://sourceforge.net/p/gribble/wiki/MessageParser_Plugin/

186
org/projex.org Normal file
View File

@ -0,0 +1,186 @@
#+TITLE: Projex
#+SETUPFILE: ../settings.org
Tutorials on how to accomplish small tech-related tasks. The purpose is to prototype a process of how to collaborate with strangers over the internet on mutual interests and with a trajectory toward infosec/osint topics.
Feel free to generate your own tutorial topics, with the constraint that the tutorials should be:
1. short. something we can do together start to finish in 1-2 hours.
2. tangible. we should have something by the end that we didn't have before, such as an email address with gpg enabled.
3. FOSS all day erry day
* IRC
- [[./irc-tor.org][setting up IRC to run through Tor (hexchat, irssi, freenode w/ tor)]]
- [[./novatore.html][novatore the bot]]
- [[./fish.html][using fishlim with hexchat / irssi]]
- https://irc.anarchyplanet.org/pad/p/inspircd
* GPG
- setting up and using GPG: https://irc.anarchyplanet.org/pad/p/gpg
* SSH
- setting up ssh keys https://irc.anarchyplanet.org/pad/p/ssh
* XMPP
- xmpp with OTR and OMEMO https://irc.anarchyplanet.org/pad/p/xmpp
* torrents
** How to torrent (the anarchist library): https://irc.anarchyplanet.org/pad/p/torrent
https://github.com/micahflee/onionshare
syncthing
gobby (collaborative writing / code development) https://irc.anarchyplanet.org/pad/p/obby
* Networking
** ipfs https://irc.anarchyplanet.org/pad/p/ipfs - https://github.com/ipfs/ipfs
IPFS is a distributed file system that seeks to connect all computing devices with the same system of files. In some ways, this is similar to the original aims of the Web, but IPFS is actually more similar to a single bittorrent swarm exchanging git objects.
- share files from terminal https://0xacab.org/riseup/share/up1-cli-client-nodejs#README
https://github.com/cyberwizardinstitute/workshops/blob/master/networks.markdown#networking
https://github.com/cyberwizardinstitute/workshops/blob/master/unix.md
ipfs https://irc.anarchyplanet.org/pad/p/ipfs
https://jsfiddle.net/8pr3cq4m/6/ <-- soundcloud alternative for time-stamped comments
* Server Admin
- wemux https://irc.anarchyplanet.org/pad/p/wemux
- self-hosting w/ Nginx
- audio streaming
https://xiph.org/
https://irc.anarchyplanet.org/dox/
- setting up host files to block advertisements https://en.wikipedia.org/wiki/Hosts_%28file%29 (beware effects on fingerprintability)
- VPNS
- mesh https://en.wikipedia.org/wiki/OpenWrt
- bootloaders: how do they work? <3
fileshare resources
* Misc
** osint
- send and receive bitcoin (and/or other cryptocurrency? and setting up group wallets?) https://archive.cyberguerrilla.org/a/2017/cgan-course-4-todays-lesson-what-is-btc/
- set up i2p https://www.reddit.com/r/i2p/comments/1tlqct/irc_on_i2p_irc2p_startup_guide/
** email resources
https://pad.anarchistnews.org/p/letsgobois
https://projex.neocities.org
** wiki
http://pad.anarchistnews.org/p/wiki
** git / version control / code workflow
- gitea
- gogs https://gogs.io/docs/installation
- gitlab https://docs.gitlab.com/ee/install/README.html
- gitosis https://git-scm.com/book/en/v1/Git-on-the-Server-Gitosis
- gobalist https://irc.anarchyplanet.org/pad/p/globalist
- cgit https://git.zx2c4.com/cgit/
- gitweb https://git-scm.com/book/en/v2/Git-on-the-Server-GitWeb
- others
- https://www.agwa.name/projects/git-crypt/
- https://git-scm.com/book/en/v2/Distributed-Git-Distributed-Workflows
** IRC
http://www.inspircd.org/
** limnoria
https://limnoria.readthedocs.io/en/latest/use/index.html
https://irc.anarchyplanet.org/pad/p/kiwi-onion
http://gribble.sourceforge.net/supybook
briar https://media.ccc.de/v/34c3-8937-briar
** tmux
- post text and images http://ix.io/ - https://0xacab.org/riseup/share/up1-cli-client-nodejs
- bash scripts (for, {}, ..)
- zsh https://ohmyz.sh/ - Plugins: https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins - zsh.org - https://en.wikipedia.org/wiki/Z_shell
** editors
emacs-orgmode
vi http://www.penguintutor.com/linux/vi-texteditor-tutorial
focuswriter
** forums
https://flaskbb.org/ (meh)
session: together test which cms of @LIST is eaiest to setup <- to set this up, let's make a list and pilot test installing them quickly ...
** imgboard
(chans not run by neonazis, maybe?)
anokchan.org ;-) <3 wasn't there one called 0chan that was okay?
** privacy
'privacy' is a myth but that doesn't mean we should just give all of the companies and the state all of our data. it actually matters a lot (i.e. they are very much able to invade your life in powerful ways by mining your data) <3 <3
https://riseup.net/security/resources
https://www.privacytools.io
https://prism-break.org
https://unhosted.org
https://www.reddit.com/r/NSALeaks/wiki/index
https://www.reddit.com/r/NSALeaks
TAO / JTRIG https://i.imgur.com/yzpKDPH.png
https://www.reddit.com/r/worldnews/comments/22sv1o/nsa_said_to_have_used_heartbleed_bug_exposing/
https://www.smh.com.au/technology/man-who-introduced-serious-heartbleed-security-flaw-denies-he-inserted-it-deliberately-20140410-zqta1.html
https://en.wikipedia.org/wiki/WireGuard
change DNS server https://neverendingsecurity.wordpress.com/2015/03/07/censorship-free-dns-servers/
self-hosting
sql https://blog.secaserver.com/tag/haproxy-mysql-load-balance/
mail https://medium.com/@kevinsimper/self-hosting-email-in-2016-is-still-hard-797a6320bfa8
redis
- easy backup: https://redis.io/topics/persistence
- sharing files: https://redislabs.com/ebook/part-2-core-concepts/chapter-6-application-components-in-redis/6-6-distributing-files-with-redis/
- load balancing: https://redis.io/topics/sentinel
set up stuff http://potpj4yqrvx2zeqgxrrzrhboy244pclgllm76b26zloasly4nluw5myd.onion/p/traumschule.org
audio chat / VOIO
asterisk https://hamvoip.org/
mumble https://wiki.mumble.info/wiki/Features - https://wiki.mumble.info/wiki/Running_Murmur
https://linuxsampler.org/about.html
** tor
tor is more than a anonymization client but has a wide ecosystem:
https://www.torproject.org/projects/projects
https://www.torproject.org/projects/community.html.en
'is tor safe' see vanguards:
** Possible quests:
install the ooni app on your smartphone to measure censorship: https://lists.torproject.org/pipermail/ooni-dev/2018-November/000544.html
set up a cdn with two onion nodes via onionbalance
publish a git repository via globalist and let everyone in the group add a commit
create damn secret underground chat group with cwtch.im "Warning: Cwtch is an experimental prototype. Please do not use it for anything where security, privacy, or anonymity is critical." lol
create an onion farm with tor controllers like bine stem or carml
run tor-ramdisk in a vm
secure communication
find out why Perfect Forward Secrecy and metadata protection are important
have an end to end encrypted goup chat: https://cwtch.im
meet via voice/video chat: https://meet.jit.si/
use OMEMO https://omemo.top/
alternatives: https://prism-break.org/en/subcategories/gnu-linux-video-voice/
Be careful with your phones and tell your friends: https://www.wired.co.uk/article/europe-immigration-refugees-smartphone-metadata-deportations
read more on security https://riseup.net/en/security/resources ie. https://ssd.eff.org/
pip install -U youtube_dl --user
misc / mine onion
https://tor.stackexchange.com/questions/8763/does-deepnet-have-only-7100-onion-sites
https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers/31250734#31250734
** cgAn
https://archive.cyberguerrilla.org/a/2017/?s=course&submit_x=0&submit_y=0
https://irc.anarchyplanet.org/pad/p/othertutorials
https://newblood.anonops.com/security.html
https://irc.anarchyplanet.org/pad/p/jellyfish
https://startyourownisp.com/
connect to freenode via tor: https://freenode.net/kb/answer/certfp
fun
https://irc.anarchyplanet.org/pad/p/mud
https://irc.anarchyplanet.org/pad/p/ap-the-game
wanna start coding?
https://lifehacker.com/why-you-should-learn-to-run-a-server-before-you-learn-t-1497178889
learn rust
https://trac.torproject.org/projects/tor/wiki/RustInTor
============================================================
Projex Potential Sections
============================================================
HowTos - projex style tutorials that people can update / contribute to through our git workflow
Tools - list of tools loosely grouped by categories (e.g. above) that people can (1) contribute HowTos or (2) review
Info - lists of articles that can provide more context info that people can (1) post questions on and (2) review their thoughts on the article

11
org/rss-feeds.csv Normal file
View File

@ -0,0 +1,11 @@
amw | https://www.amwenglish.com/index.xml
anews | https://anarchistnews.org/rss.xml
library | https://theanarchistlibrary.org/feed
101| http://anarchy101.org/feed/qa.rss
325| https://325.nostate.net/feed/
actforfreedomnow | https://actforfree.nostate.net/?feed=rss2
attaque | https://attaque.noblogs.org/feed/
bang | https://anarchybang.com/feed/podcast
crimethinc | https://crimethinc.com/feed
igd | https://itsgoingdown.org/feed/
solarmag | https://solar.lowtechmagazine.com/feeds/all.rss.xml
1 amw https://www.amwenglish.com/index.xml
2 anews https://anarchistnews.org/rss.xml
3 library https://theanarchistlibrary.org/feed
4 101 http://anarchy101.org/feed/qa.rss
5 325 https://325.nostate.net/feed/
6 actforfreedomnow https://actforfree.nostate.net/?feed=rss2
7 attaque https://attaque.noblogs.org/feed/
8 bang https://anarchybang.com/feed/podcast
9 crimethinc https://crimethinc.com/feed
10 igd https://itsgoingdown.org/feed/
11 solarmag https://solar.lowtechmagazine.com/feeds/all.rss.xml

11
org/rss-feeds.org Normal file
View File

@ -0,0 +1,11 @@
| amw | https://www.amwenglish.com/index.xml |
| anews | https://anarchistnews.org/rss.xml |
| library | https://theanarchistlibrary.org/feed |
| 101 | http://anarchy101.org/feed/qa.rss |
| 325 | https://325.nostate.net/feed/ |
| actforfreedomnow | https://actforfree.nostate.net/?feed=rss2 |
| attaque | https://attaque.noblogs.org/feed/ |
| bang | https://anarchybang.com/feed/podcast |
| crimethinc | https://crimethinc.com/feed |
| igd | https://itsgoingdown.org/feed/ |
| solarmag | https://solar.lowtechmagazine.com/feeds/all.rss.xml |

8
org/sitemap.org Normal file
View File

@ -0,0 +1,8 @@
#+TITLE: Sitemap for Dox
- [[file:index.org][Anarchy Planet Dox]]
- [[file:irc-how-to.org][Anarchy Planet IRC How To]]
- [[file:irc-tor.org][Connect to IRC with Tor]]
- [[file:novatore.org][Novatore the bot how-to]]
- [[file:projex.org][Projex]]
- [[file:fish.org][Using fish encryption with IRC]]

6
settings.org Normal file
View File

@ -0,0 +1,6 @@
# -*- mode: org; -*-
#+AUTHOR: anarchy planet
#+OPTIONS: H:1 html-scripts:nil num:nil toc:t
#+EXCLUDE_TAGS: noexport
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../css/htmlize.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../css/readtheorg.css"/>