add winxp screenshot

This commit is contained in:
ed 2018-01-16 20:40:05 +01:00
parent b84036a141
commit 0ff67e5e37
5 changed files with 15 additions and 2 deletions

2
.gitattributes vendored
View File

@ -1 +1,3 @@
* text eol=lf
*.png binary

View File

@ -4,6 +4,8 @@
* MIT-Licensed, 2018-01-07, ed @ irc.rizon.net
* https://github.com/9001/r0c
![screenshot of telnet connected to a r0c server](doc/r0c.png)
## features
* tries to be irssi

BIN
doc/r0c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -2,29 +2,38 @@
if __name__ == '__main__':
raise RuntimeError('\r\n{0}\r\n\r\n this file is part of retr0chat.\r\n enter the parent folder of this file and run:\r\n\r\n python -m r0c <telnetPort> <netcatPort>\r\n\r\n{0}'.format('*'*72))
BUILD_DATE = '2018-01-16' # felt like a good idea at the time
# two example values are listed for each config attribute;
# the first for debug purposes, the second for regular use
# show negotiations etc
DBG = True
DBG = False
# show all traffic from clients
HEXDUMP_IN = True
HEXDUMP_IN = False
# show all traffic to clients
HEXDUMP_OUT = True
HEXDUMP_OUT = False
# filter packets larger than N bytes from being hexdumped
HEXDUMP_TRUNC = 65535
HEXDUMP_TRUNC = 128
# set true for a really bad "slow network" simulation
SLOW_MOTION_TX = True
SLOW_MOTION_TX = False
# force clients into linemode (to debug linemode UI)
FORCE_LINEMODE = True
FORCE_LINEMODE = False
# dump statistics every 2 seconds
BENCHMARK = True
#BENCHMARK = False
# width of the hexdump, in bytes per line
HEX_WIDTH = 16

View File

@ -99,7 +99,7 @@ class User(object):
`1;30m\\ `0;36m| `1m\\_/ `0;36m\\__ `1;30m/ `0;36m------b. build_date `0m
"""
text = text.replace(u'`', u'\033[').replace('build_date', '2018-01-15')
text = text.replace(u'`', u'\033[').replace('build_date', BUILD_DATE)
text += u"""
Useful commands: