Compare commits
3 Commits
5ef1ff7090
...
c77c5d0d89
Author | SHA1 | Date | |
---|---|---|---|
c77c5d0d89 | |||
b6c93ddda7 | |||
113527092e |
21
LICENSE
Normal file
21
LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2019-2024 Jon Michael Aanes
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
41
README.md
41
README.md
|
@ -1,8 +1,47 @@
|
||||||
|
<!--- WARNING --->
|
||||||
|
<!--- THIS IS AN AUTO-GENERATED FILE --->
|
||||||
|
<!--- MANUAL CHANGES CAN AND WILL BE OVERWRITTEN --->
|
||||||
|
|
||||||
Weird attempt at writing an IRC bot in Tiger. Actually mostly worked,
|
|
||||||
|
|
||||||
|
|
||||||
|
# Tiger-bot
|
||||||
|
|
||||||
|
Attempt at writing an IRC bot in Tiger. Actually mostly worked,
|
||||||
by wrapping the call in a specifically designed script to handle SSL
|
by wrapping the call in a specifically designed script to handle SSL
|
||||||
and the connection. The Tiger implementation only needed to respond to
|
and the connection. The Tiger implementation only needed to respond to
|
||||||
messages on input, by writing to output.
|
messages on input, by writing to output.
|
||||||
|
|
||||||
Design started on 6. Marts 2019.
|
Design started on 6. Marts 2019.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Run using `run.sh`.
|
||||||
|
|
||||||
|
Requires `openssl` utility.
|
||||||
|
|
||||||
|
# License
|
||||||
|
|
||||||
|
```
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2019-2024 Jon Michael Aanes
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
```
|
||||||
|
|
5
run.sh
5
run.sh
|
@ -1,9 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
LOG_SERVER_TO_CLIENT=./log_s2c.log
|
LOG_SERVER_TO_CLIENT=./log_s2c.log
|
||||||
LOG_CLIENT_TO_SERVER=./log_c2s.log
|
LOG_CLIENT_TO_SERVER=./log_c2s.log
|
||||||
|
TARGET_SERVER="irc.example.org"
|
||||||
|
|
||||||
CLIENT_RUNTIME="./tiger-bot.bin"
|
CLIENT_RUNTIME="./tiger-bot.bin"
|
||||||
COMMS_RUNTIME="openssl s_client -connect irc.guava.space:6697"
|
COMMS_RUNTIME="openssl s_client -connect $TARGET_SERVER:6697"
|
||||||
|
|
||||||
# Ensure logs are new
|
# Ensure logs are new
|
||||||
rm -f "$LOG_CLIENT_TO_SERVER"
|
rm -f "$LOG_CLIENT_TO_SERVER"
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
|
/*
|
||||||
|
# Tiger-bot
|
||||||
|
|
||||||
|
Attempt at writing an IRC bot in Tiger. Actually mostly worked,
|
||||||
|
by wrapping the call in a specifically designed script to handle SSL
|
||||||
|
and the connection. The Tiger implementation only needed to respond to
|
||||||
|
messages on input, by writing to output.
|
||||||
|
|
||||||
|
Design started on 6. Marts 2019.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Run using `run.sh`.
|
||||||
|
|
||||||
|
Requires `openssl` utility.
|
||||||
|
*/
|
||||||
|
|
||||||
let /* Parsing util */
|
let /* Parsing util */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user