Compare commits
No commits in common. "c77c5d0d8989fbd55cab9e3393e8ce4d35913623" and "5ef1ff70904587b24e3bbab2a7b4e22aceea9ff8" have entirely different histories.
c77c5d0d89
...
5ef1ff7090
21
LICENSE
21
LICENSE
|
@ -1,21 +0,0 @@
|
||||||
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,47 +1,8 @@
|
||||||
<!--- 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,12 +1,9 @@
|
||||||
#!/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 $TARGET_SERVER:6697"
|
COMMS_RUNTIME="openssl s_client -connect irc.guava.space:6697"
|
||||||
|
|
||||||
# Ensure logs are new
|
# Ensure logs are new
|
||||||
rm -f "$LOG_CLIENT_TO_SERVER"
|
rm -f "$LOG_CLIENT_TO_SERVER"
|
||||||
|
|
|
@ -1,19 +1,3 @@
|
||||||
/*
|
|
||||||
# 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