1
0

Compare commits

...

3 Commits

Author SHA1 Message Date
c77c5d0d89 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
2024-09-24 23:47:11 +02:00
b6c93ddda7 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
2024-09-24 23:29:28 +02:00
113527092e
Moving README into main file 2024-09-24 23:25:49 +02:00
4 changed files with 81 additions and 2 deletions

21
LICENSE Normal file
View 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.

View File

@ -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
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.
# 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
View File

@ -1,9 +1,12 @@
#!/bin/bash
set -e
LOG_SERVER_TO_CLIENT=./log_s2c.log
LOG_CLIENT_TO_SERVER=./log_c2s.log
TARGET_SERVER="irc.example.org"
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
rm -f "$LOG_CLIENT_TO_SERVER"

View File

@ -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 */