Questions about this topic? Sign up to ask in the talk tab.
Difference between revisions of "Irssi Tutorial"
From NetSec
(Created page with "Type in terminal: irssi /connect -ssl irc.blackhatacademy.org /join #school") |
m (did a formatting thing) |
||
| (18 intermediate revisions by 8 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | = Installation = | |
| − | + | *Debian/Ubuntu | |
| − | + | {{code|text= | |
| − | + | <source lang="bash"> | |
| + | # apt-get install irssi socat tor screen | ||
| + | </source> | ||
| + | }} | ||
| + | |||
| + | *Gentoo | ||
| + | {{code|text= | ||
| + | <source lang="bash"> | ||
| + | # emerge irssi socat tor screen | ||
| + | </source> | ||
| + | }} | ||
| + | |||
| + | *Arch Linux | ||
| + | {{code|text= | ||
| + | <source lang="bash"> | ||
| + | # pacman -S irssi socat tor screen | ||
| + | </source> | ||
| + | }} | ||
| + | |||
| + | = Connecting to the IRC = | ||
| + | |||
| + | *Method 1 | ||
| + | [[Tor|Transparent proxy your connection]] | ||
| + | |||
| + | {{code|text= | ||
| + | <source lang="bash"> | ||
| + | $ irssi | ||
| + | /connect -ssl netseclgxigdsvpj.onion 6697 | ||
| + | </source> | ||
| + | }} | ||
| + | |||
| + | *Method 2 | ||
| + | {{code|text= | ||
| + | <source lang="bash"> | ||
| + | $ screen -S connections | ||
| + | $ tor | ||
| + | ctrl-a + c | ||
| + | $ socat TCP4-LISTEN:4242,fork SOCKS4A:localhost:netseclgxigdsvpj.onion:6697,socksport=9050 | ||
| + | ctrl-a + d | ||
| + | $ irssi | ||
| + | /connect -ssl localhost 4242 | ||
| + | </source> | ||
| + | }} | ||
| + | |||
| + | = Sample config file = | ||
| + | |||
| + | {{code|text= | ||
| + | <source lang="bash"> | ||
| + | servers = ( | ||
| + | |||
| + | { | ||
| + | address = "netseclgxigdsvpj.onion"; | ||
| + | chatnet = "bha"; | ||
| + | port = "6697"; | ||
| + | autoconnect = "yes"; | ||
| + | use_ssl = "yes"; | ||
| + | ssl_verify = "no"; | ||
| + | } | ||
| + | |||
| + | chatnets = { | ||
| + | bha = { | ||
| + | type = "IRC"; | ||
| + | nick = "<your nickname here>"; | ||
| + | user = "<your nickname here>"; | ||
| + | realname = "<your nickname here>"; | ||
| + | }; | ||
| + | } | ||
| + | |||
| + | channels = { | ||
| + | { name = "#csiii"; chatnet = "bha"; autojoin = "Yes"; }, | ||
| + | } | ||
| + | |||
| + | ); | ||
| + | </source> | ||
| + | }} | ||
| + | |||
| + | ==Irssi customization== | ||
| + | *[http://scripts.irssi.org/ Scripts for Irssi] | ||
| + | *[https://irssi-import.github.io/themes/ Themes for Irssi] | ||
| + | |||
| + | [[Category:Software]][[Category:Administration]] | ||
Latest revision as of 15:09, 21 June 2016
Installation
- Debian/Ubuntu
# apt-get install irssi socat tor screen
|
- Gentoo
# emerge irssi socat tor screen
|
- Arch Linux
# pacman -S irssi socat tor screen
|
Connecting to the IRC
- Method 1
Transparent proxy your connection
$ irssi /connect -ssl netseclgxigdsvpj.onion 6697 |
- Method 2
$ screen -S connections $ tor ctrl-a + c $ socat TCP4-LISTEN:4242,fork SOCKS4A:localhost:netseclgxigdsvpj.onion:6697,socksport=9050 ctrl-a + d $ irssi /connect -ssl localhost 4242 |
Sample config file
servers = ( { address = "netseclgxigdsvpj.onion"; chatnet = "bha"; port = "6697"; autoconnect = "yes"; use_ssl = "yes"; ssl_verify = "no"; } chatnets = { bha = { type = "IRC"; nick = "<your nickname here>"; user = "<your nickname here>"; realname = "<your nickname here>"; }; } channels = { { name = "#csiii"; chatnet = "bha"; autojoin = "Yes"; }, } ); |