commit aab82b8388110f5d0f43b896a2986470be281d6a from: jrmu date: Wed May 24 04:00:30 2023 UTC Daily backup commit - cd84cc7978785524c2e8c9316350d8cc3d8c01d2 commit + aab82b8388110f5d0f43b896a2986470be281d6a blob - /dev/null blob + 8025068428e6f511d18adf5aa170ee8ad84a77d3 (mode 644) Binary files /dev/null and uploads/Freedom/radiofreedom.png differ blob - /dev/null blob + 9ac4d0eb76a3ae71a0a74cf4aa48c7f6ea7cdb83 (mode 644) --- /dev/null +++ wiki.d/Pbug.Bio @@ -0,0 +1,45 @@ +version=pmwiki-2.3.20 ordered=1 urlencoded=1 +agent=Mozilla/5.0 (X11; Linux x86_64; OpenBSD amd64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 +author=pbug +charset=UTF-8 +csum= +ctime=1684737465 +host=2003:d2:5723:8100:57f4:6049:3494:7855 +name=Pbug.Bio +rev=11 +targets=Vmm.DevuanIso +text=Ever since highschool in Canada, where I experienced QNX first, I have been drawn to Unix-like Operating Systems. That was 30 years ago, I'm 47 years old (at time of this writing). My interests include programming, system administration and communicating via IRC.%0a%0aCurrently living in Germany, in a small town called Schweinfurt. The biggest cities I've lived in include Toronto, Montreal and Frankfurt. I was born in Berlin, Germany (so another big city).%0a%0aI am single and don't have a partner currently.%0a%0aMy mission is to live this life until its end, and help others as much as I can. I found that through IRC I can reach people worldwide, in lieu of helping my neighbours.%0a%0aProgramming languages that I wrote small code on include BASIC, COBOL, PASCAL, C, Java, Javascript, PHP, Python, Ruby, Perl, Bourne shell, AWK, and a bit of different assembler (ASM).%0a%0aHere on IRCNOW I have contributed/added some things:%0a%0a* [[Vmm.DevuanIso]] added chimeara instructions for devuan on vmm.%0a%0aOther wiki's I've written on include:%0a%0a* https://www.hackepedia.org/?title=User:Pbug Hackepedia (Yashy's project)%0a* https://wiki.freifunk-franken.de/w/Benutzer:PeterPhilipp Freifunk Franken Wiki%0a%0aCurrently I have access to the following Operating Systems at home: Linux, FreeBSD, NetBSD, OpenBSD, Windows, Mac OS X Tiger on G5, Solaris x86. Some of these are virtualized and some native.%0a%0aI have computer hardware ranging from i386, amd64, powerpc, MIPS32, MIPS64, ESP32 and ARM.%0aMost of these are in an off state until Germany has energy abundance and appropriate low costs for electricity. +time=1684755559 +author:1684755559=pbug +diff:1684755559:1684755101:minor=20,23c20,21%0a%3c Currently I have access to the following Operating Systems at home: Linux, FreeBSD, NetBSD, OpenBSD, Windows, Mac OS X Tiger on G5, Solaris x86. Some of these are virtualized and some native.%0a%3c %0a%3c I have computer hardware ranging from i386, amd64, powerpc, MIPS32, MIPS64, ESP32 and ARM.%0a%3c Most of these are in an off state until Germany has energy abundance and appropriate low costs for electricity.%0a\ No newline at end of file%0a---%0a> Currently I have access to the following Operating Systems at home: Linux, FreeBSD, NetBSD, OpenBSD, Windows, Mac OS X Tiger on G5. Some of these are virtualized and some native.%0a> %0a +host:1684755559=2003:d2:5723:8100:57f4:6049:3494:7855 +author:1684755101=pbug +diff:1684755101:1684746916:minor=19,21d18%0a%3c %0a%3c Currently I have access to the following Operating Systems at home: Linux, FreeBSD, NetBSD, OpenBSD, Windows, Mac OS X Tiger on G5. Some of these are virtualized and some native.%0a%3c %0a +host:1684755101=2003:d2:5723:8100:57f4:6049:3494:7855 +author:1684746916=pbug +diff:1684746916:1684743463:minor=5c5%0a%3c I am single and don't have a partner currently.%0a---%0a> I am single and haven't had a girlfriend since 1997, human females are estranged to me :-).%0a +host:1684746916=2003:d2:5723:8100:57f4:6049:3494:7855 +author:1684743463=pbug +diff:1684743463:1684743383:minor=17,18c17,18%0a%3c * https://www.hackepedia.org/?title=User:Pbug Hackepedia (Yashy's project)%0a%3c * https://wiki.freifunk-franken.de/w/Benutzer:PeterPhilipp Freifunk Franken Wiki%0a---%0a> * [https://www.hackepedia.org/?title=User:Pbug|Hackepedia]%0a> * [https://wiki.freifunk-franken.de/w/Benutzer:PeterPhilipp|Freifunk Franken Wiki]%0a +host:1684743463=2003:d2:5723:8100:57f4:6049:3494:7855 +author:1684743383=pbug +diff:1684743383:1684740810:minor=13,18c13%0a%3c * [[Vmm.DevuanIso]] added chimeara instructions for devuan on vmm.%0a%3c %0a%3c Other wiki's I've written on include:%0a%3c %0a%3c * [https://www.hackepedia.org/?title=User:Pbug|Hackepedia]%0a%3c * [https://wiki.freifunk-franken.de/w/Benutzer:PeterPhilipp|Freifunk Franken Wiki]%0a---%0a> * [[Vmm.DevuanIso]] added chimeara instructions for devuan on vmm.%0a\ No newline at end of file%0a +host:1684743383=2003:d2:5723:8100:57f4:6049:3494:7855 +author:1684740810=pbug +diff:1684740810:1684738986:minor=9,13c9%0a%3c Programming languages that I wrote small code on include BASIC, COBOL, PASCAL, C, Java, Javascript, PHP, Python, Ruby, Perl, Bourne shell, AWK, and a bit of different assembler (ASM).%0a%3c %0a%3c Here on IRCNOW I have contributed/added some things:%0a%3c %0a%3c * [[Vmm.DevuanIso]] added chimeara instructions for devuan on vmm.%0a\ No newline at end of file%0a---%0a> Programming languages that I wrote small code on include BASIC, COBOL, PASCAL, C, Java, Javascript, PHP, Python, Ruby, Perl, Bourne shell, AWK, and a bit of different assembler (ASM).%0a\ No newline at end of file%0a +host:1684740810=2003:d2:5723:8100:57f4:6049:3494:7855 +author:1684738986=pbug +diff:1684738986:1684738770:minor=3c3%0a%3c Currently living in Germany, in a small town called Schweinfurt. The biggest cities I've lived in include Toronto, Montreal and Frankfurt. I was born in Berlin, Germany (so another big city).%0a---%0a> Currently living in Germany, in a small town called Schweinfurt. The biggest cities I've lived in include Toronto and Frankfurt. I was born in Berlin, Germany (so another big city).%0a +host:1684738986=2003:d2:5723:8100:57f4:6049:3494:7855 +author:1684738770=pbug +diff:1684738770:1684738722:minor=9c9%0a%3c Programming languages that I wrote small code on include BASIC, COBOL, PASCAL, C, Java, Javascript, PHP, Python, Ruby, Perl, Bourne shell, AWK, and a bit of different assembler (ASM).%0a\ No newline at end of file%0a---%0a> Programming languages that I wrote small code on include BASIC, COBOL, PASCAL, C, Python, Ruby, Perl, Bourne shell, AWK, and a bit of different assembler (ASM).%0a\ No newline at end of file%0a +host:1684738770=2003:d2:5723:8100:57f4:6049:3494:7855 +author:1684738722=pbug +diff:1684738722:1684738472:minor=7,9c7%0a%3c My mission is to live this life until its end, and help others as much as I can. I found that through IRC I can reach people worldwide, in lieu of helping my neighbours.%0a%3c %0a%3c Programming languages that I wrote small code on include BASIC, COBOL, PASCAL, C, Python, Ruby, Perl, Bourne shell, AWK, and a bit of different assembler (ASM).%0a\ No newline at end of file%0a---%0a> My mission is to live this life until its end, and help others as much as I can. I found that through IRC I can reach people worldwide, in lieu of helping my neighbours.%0a\ No newline at end of file%0a +host:1684738722=2003:d2:5723:8100:57f4:6049:3494:7855 +author:1684738472=pbug +diff:1684738472:1684737465:minor=3,7c3%0a%3c Currently living in Germany, in a small town called Schweinfurt. The biggest cities I've lived in include Toronto and Frankfurt. I was born in Berlin, Germany (so another big city).%0a%3c %0a%3c I am single and haven't had a girlfriend since 1997, human females are estranged to me :-).%0a%3c %0a%3c My mission is to live this life until its end, and help others as much as I can. I found that through IRC I can reach people worldwide, in lieu of helping my neighbours.%0a\ No newline at end of file%0a---%0a> *more later*%0a\ No newline at end of file%0a +host:1684738472=2003:d2:5723:8100:57f4:6049:3494:7855 +author:1684737465=pbug +diff:1684737465:1684737465:minor=1,3d0%0a%3c Ever since highschool in Canada, where I experienced QNX first, I have been drawn to Unix-like Operating Systems. That was 30 years ago, I'm 47 years old (at time of this writing). My interests include programming, system administration and communicating via IRC.%0a%3c %0a%3c *more later*%0a\ No newline at end of file%0a +host:1684737465=2003:d2:5723:8100:57f4:6049:3494:7855 blob - /dev/null blob + 075860080feff571481a6ae76d5ca017f305355b (mode 644) --- /dev/null +++ wiki.d/Pbug.RecentChanges @@ -0,0 +1,9 @@ +version=pmwiki-2.3.20 ordered=1 urlencoded=1 +agent=Mozilla/5.0 (X11; Linux x86_64; OpenBSD amd64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 +charset=UTF-8 +ctime=1684737465 +host=2003:d2:5723:8100:57f4:6049:3494:7855 +name=Pbug.RecentChanges +rev=11 +text=* [[Pbug/Bio]] . . . @2023-05-22T11:39:19Z by [[~pbug]]: [==]%0a +time=1684755559 blob - /dev/null blob + 61649f242221b443c12b87f4cc3509fc3db33f73 (mode 644) --- /dev/null +++ wiki.d/Psotnic.Install @@ -0,0 +1,27 @@ +version=pmwiki-2.3.20 ordered=1 urlencoded=1 +agent=Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 +author=devune +charset=UTF-8 +csum= +ctime=1684738974 +host=2a07:e01:3:29c::1 +name=Psotnic.Install +rev=5 +targets= +text=!! Psotnic install guide%0a%0a!!! Overview%0a%0aPsotnic is an IRCnet bot written in C++. The main goal of the project was to create a fast, stable and easy to use bot.%0a%0a!!! Installation%0a%0aPsotnic is not available in the ports of OpenBSD 7.2, therefore it must be built from source.%0a%0a# Grab the source code from the official repository:%0a%0a->[@%0a$ curl -OJL https://github.com/psotnic/psotnic/archive/refs/tags/v0.2.14.tar.gz%0a$ tar -xzvf psotnic-0.2.14%0a$ cd psotnic-0.2.14%0a@]%0a%0a# Apply the patch for OpenBSD 7.2:%0a%0a->[@%0a$ curl -s http://devune.nastycode.com/psotnic-0.2.14-openbsd.patch | patch --posix -p1%0a@]%0a%0a->The patch includes few type castings and enabling clang as default compiler along with required compiler flag changes.%0a%0a# Configure compilation options and build the binary:%0a%0a->[@%0a$ ./configure && make dynamic%0a@]%0a%0a# To verify a successful build go to [@./bin@] directory and run the binary.%0a%0a->[@%0a$ cd ./bin%0a$ ./psotnic%0a@]%0a%0a->You should see the following output if the build is valid:%0a%0a->[@%0aSyntax: ./psotnic [-v] [-a] [-p] [-n] [-c decrypted config] [crypted config]%0a@]%0a%0a!!! Configuration%0a%0aAs a demonestration we will use a dafault config for a bot to connect tor IRCNow server.%0a%0a# Generate a hash of your main password for the bot, using:%0a%0a->[@%0a$ echo "mymainpassword" | ./psotnic -p%0a@]%0a%0a->The output would be similar to the this:%0a%0a->[@%0aPsotnic C++ edition, version 0.2.14-ipv6 (rev: UNKNOWN, build: May 21 2023 09:00:38)%0aCopyright (C) 2003-2007 Grzegorz Rusin %3cgrusin@gmail.com>%0aIf you find this software useful please donate at http://psotnic.sf.net/donate%0a%0a[*] Bot is now running in MD5 hash generator mode%0a[?] String to hash: [*] MD5 hash : 9dc275cb3ffdb686407934814bc5771c%0a@]%0a%0a# Create a config file named [@samplebot.cfg@] with the following content:%0a%0a->[@%0anick samplebot%0arealname Sample Bot%0aaltnick samplebot%0aserver 198.251.82.194 6667%0amyipv4 127.0.0.1%0alisten 62450%0aownerpass 9dc275cb3ffdb686407934814bc5771c%0a@]%0a%0a->Replace the value for [@ownerpass@] with the hash obtained from the previous step.%0a%0a# Next, encrpyt the raw config file using:%0a%0a->[@%0a$ ./psotnic -c samplebot.cfg%0a@]%0a%0a# Now, run the bot with the encrypted config file:%0a%0a->[@%0a$ ./psotnic samplebot.cfg%0a@]%0a%0a# Create the bot owner on the first run with every new config use telnet:%0a%0a->[@%0a$ telnet localhost 62450%0a@]%0a%0a->Type in the owner password from the first step and create the user by specifying a name and a password.%0a->Alternatively, you could directly message the bot on one of the IRC servers from the config file as follows:%0a%0a->[@%0a/msg samplebot mainowner %3cOWNERNAME> %3cPASSWORD>%0a@]%0a%0a!! See also:%0a%0a* Psotnic Documentation: [[https://www.psotnic.com/documentation/]]%0a +time=1684771400 +author:1684771400=devune +diff:1684771400:1684744864:minor= +host:1684771400=2a07:e01:3:29c::1 +author:1684744864=devune +diff:1684744864:1684741509:=2c2%0a%3c %0a---%0a> %0a +host:1684744864=2a07:e01:3:29c::1 +author:1684741509=devune +diff:1684741509:1684741446:=50c50%0a%3c # Generate a hash of your main password for the bot, using:%0a---%0a> # Generate a hash of your main password for the bot using:%0a +host:1684741509=2a07:e01:3:29c::1 +author:1684741446=devune +diff:1684741446:1684738974:=1,4c1,4%0a%3c !! Psotnic install guide%0a%3c %0a%3c !!! Overview%0a%3c %0a---%0a> # Psotnic install guide%0a> %0a> ## Overview%0a> %0a7,8c7,8%0a%3c !!! Installation%0a%3c %0a---%0a> ## Installation%0a> %0a11,47c11,46%0a%3c # Grab the source code from the official repository:%0a%3c %0a%3c ->[@%0a%3c $ curl -OJL https://github.com/psotnic/psotnic/archive/refs/tags/v0.2.14.tar.gz%0a%3c $ tar -xzvf psotnic-0.2.14%0a%3c $ cd psotnic-0.2.14%0a%3c @]%0a%3c %0a%3c # Apply the patch for OpenBSD 7.2:%0a%3c %0a%3c ->[@%0a%3c $ curl -s http://devune.nastycode.com/psotnic-0.2.14-openbsd.patch | patch --posix -p1%0a%3c @]%0a%3c %0a%3c ->The patch includes few type castings and enabling clang as default compiler along with required compiler flag changes.%0a%3c %0a%3c # Configure compilation options and build the binary:%0a%3c %0a%3c ->[@%0a%3c $ ./configure && make dynamic%0a%3c @]%0a%3c %0a%3c # To verify a successful build go to [@./bin@] directory and run the binary.%0a%3c %0a%3c ->[@%0a%3c $ cd ./bin%0a%3c $ ./psotnic%0a%3c @]%0a%3c %0a%3c ->You should see the following output if the build is valid:%0a%3c %0a%3c ->[@%0a%3c Syntax: ./psotnic [-v] [-a] [-p] [-n] [-c decrypted config] [crypted config]%0a%3c @]%0a%3c %0a%3c !!! Configuration%0a%3c %0a---%0a> 1. Grab the source code from the official repository:%0a> %0a> ```sh%0a> $ curl -OJL https://github.com/psotnic/psotnic/archive/refs/tags/v0.2.14.tar.gz%0a> $ tar -xzvf psotnic-0.2.14%0a> $ cd psotnic-0.2.14%0a> ```%0a> 2. Apply the patch for OpenBSD 7.2:%0a> %0a> ```sh%0a> $ curl -s http://devune.nastycode.com/psotnic-0.2.14-openbsd.patch | patch --posix -p1%0a> ```%0a> %0a> The patch includes few type castings and enabling clang as default compiler along with required compiler flag changes.%0a> %0a> 3. Configure compilation options and build the binary:%0a> %0a> ```sh%0a> $ ./configure && make dynamic%0a> ```%0a> %0a> 4. To verify a successful build go to `./bin` directory and run the binary.%0a> %0a> ```sh%0a> $ cd ./bin%0a> $ ./psotnic%0a> ```%0a> %0a> You should see the following output if the build is valid:%0a> %0a> ```%0a> Syntax: ./psotnic [-v] [-a] [-p] [-n] [-c decrypted config] [crypted config]%0a> ```%0a> %0a> ## Configuration%0a> %0a50,108c49,107%0a%3c # Generate a hash of your main password for the bot using:%0a%3c %0a%3c ->[@%0a%3c $ echo "mymainpassword" | ./psotnic -p%0a%3c @]%0a%3c %0a%3c ->The output would be similar to the this:%0a%3c %0a%3c ->[@%0a%3c Psotnic C++ edition, version 0.2.14-ipv6 (rev: UNKNOWN, build: May 21 2023 09:00:38)%0a%3c Copyright (C) 2003-2007 Grzegorz Rusin %3cgrusin@gmail.com>%0a%3c If you find this software useful please donate at http://psotnic.sf.net/donate%0a%3c %0a%3c [*] Bot is now running in MD5 hash generator mode%0a%3c [?] String to hash: [*] MD5 hash : 9dc275cb3ffdb686407934814bc5771c%0a%3c @]%0a%3c %0a%3c # Create a config file named [@samplebot.cfg@] with the following content:%0a%3c %0a%3c ->[@%0a%3c nick samplebot%0a%3c realname Sample Bot%0a%3c altnick samplebot%0a%3c server 198.251.82.194 6667%0a%3c myipv4 127.0.0.1%0a%3c listen 62450%0a%3c ownerpass 9dc275cb3ffdb686407934814bc5771c%0a%3c @]%0a%3c %0a%3c ->Replace the value for [@ownerpass@] with the hash obtained from the previous step.%0a%3c %0a%3c # Next, encrpyt the raw config file using:%0a%3c %0a%3c ->[@%0a%3c $ ./psotnic -c samplebot.cfg%0a%3c @]%0a%3c %0a%3c # Now, run the bot with the encrypted config file:%0a%3c %0a%3c ->[@%0a%3c $ ./psotnic samplebot.cfg%0a%3c @]%0a%3c %0a%3c # Create the bot owner on the first run with every new config use telnet:%0a%3c %0a%3c ->[@%0a%3c $ telnet localhost 62450%0a%3c @]%0a%3c %0a%3c ->Type in the owner password from the first step and create the user by specifying a name and a password.%0a%3c ->Alternatively, you could directly message the bot on one of the IRC servers from the config file as follows:%0a%3c %0a%3c ->[@%0a%3c /msg samplebot mainowner %3cOWNERNAME> %3cPASSWORD>%0a%3c @]%0a%3c %0a%3c !! See also:%0a%3c %0a%3c * Psotnic Documentation: [[https://www.psotnic.com/documentation/]]%0a---%0a> 1. Generate a hash of your main password for the bot using:%0a> %0a> ```sh%0a> $ echo "mymainpassword" | ./psotnic -p%0a> ```%0a> %0a> The output would be similar to the this:%0a> %0a> ```%0a> Psotnic C++ edition, version 0.2.14-ipv6 (rev: UNKNOWN, build: May 21 2023 09:00:38)%0a> Copyright (C) 2003-2007 Grzegorz Rusin %3cgrusin@gmail.com>%0a> If you find this software useful please donate at http://psotnic.sf.net/donate%0a> %0a> [*] Bot is now running in MD5 hash generator mode%0a> [?] String to hash: [*] MD5 hash : 9dc275cb3ffdb686407934814bc5771c%0a> ```%0a> %0a> 2. Create a config file named `samplebot.cfg` with the following content:%0a> %0a> ```%0a> nick samplebot%0a> realname Sample Bot%0a> altnick samplebot%0a> server 198.251.82.194 6667%0a> myipv4 127.0.0.1%0a> listen 62450%0a> ownerpass 9dc275cb3ffdb686407934814bc5771c%0a> ```%0a> %0a> Replace the value for `ownerpass` with the hash obtained from the previous step.%0a> %0a> 3. Next, encrpyt the raw config file using:%0a> %0a> ```sh%0a> $ ./psotnic -c samplebot.cfg%0a> ```%0a> %0a> 4. Now, run the bot with the encrypted config file:%0a> %0a> ```sh%0a> $ ./psotnic samplebot.cfg%0a> ```%0a> %0a> 5. Create the bot owner on the first run with every new config use telnet:%0a> %0a> ```sh%0a> $ telnet localhost 62450%0a> ```%0a> %0a> Type in the owner password from the first step and create the user by specifying a name and a password.%0a> Alternatively, you could directly message the bot on one of the IRC servers from the config file as follows:%0a> %0a> ```%0a> /msg samplebot mainowner %3cOWNERNAME> %3cPASSWORD>%0a> ```%0a> %0a> ## See also:%0a> %0a> - Psotnic Documentation: https://www.psotnic.com/documentation/%0a +host:1684741446=2a07:e01:3:29c::1 +author:1684738974=devune +diff:1684738974:1684738974:=1,107d0%0a%3c # Psotnic install guide%0a%3c %0a%3c ## Overview%0a%3c %0a%3c Psotnic is an IRCnet bot written in C++. The main goal of the project was to create a fast, stable and easy to use bot.%0a%3c %0a%3c ## Installation%0a%3c %0a%3c Psotnic is not available in the ports of OpenBSD 7.2, therefore it must be built from source.%0a%3c %0a%3c 1. Grab the source code from the official repository:%0a%3c %0a%3c ```sh%0a%3c $ curl -OJL https://github.com/psotnic/psotnic/archive/refs/tags/v0.2.14.tar.gz%0a%3c $ tar -xzvf psotnic-0.2.14%0a%3c $ cd psotnic-0.2.14%0a%3c ```%0a%3c 2. Apply the patch for OpenBSD 7.2:%0a%3c %0a%3c ```sh%0a%3c $ curl -s http://devune.nastycode.com/psotnic-0.2.14-openbsd.patch | patch --posix -p1%0a%3c ```%0a%3c %0a%3c The patch includes few type castings and enabling clang as default compiler along with required compiler flag changes.%0a%3c %0a%3c 3. Configure compilation options and build the binary:%0a%3c %0a%3c ```sh%0a%3c $ ./configure && make dynamic%0a%3c ```%0a%3c %0a%3c 4. To verify a successful build go to `./bin` directory and run the binary.%0a%3c %0a%3c ```sh%0a%3c $ cd ./bin%0a%3c $ ./psotnic%0a%3c ```%0a%3c %0a%3c You should see the following output if the build is valid:%0a%3c %0a%3c ```%0a%3c Syntax: ./psotnic [-v] [-a] [-p] [-n] [-c decrypted config] [crypted config]%0a%3c ```%0a%3c %0a%3c ## Configuration%0a%3c %0a%3c As a demonestration we will use a dafault config for a bot to connect tor IRCNow server.%0a%3c %0a%3c 1. Generate a hash of your main password for the bot using:%0a%3c %0a%3c ```sh%0a%3c $ echo "mymainpassword" | ./psotnic -p%0a%3c ```%0a%3c %0a%3c The output would be similar to the this:%0a%3c %0a%3c ```%0a%3c Psotnic C++ edition, version 0.2.14-ipv6 (rev: UNKNOWN, build: May 21 2023 09:00:38)%0a%3c Copyright (C) 2003-2007 Grzegorz Rusin %3cgrusin@gmail.com>%0a%3c If you find this software useful please donate at http://psotnic.sf.net/donate%0a%3c %0a%3c [*] Bot is now running in MD5 hash generator mode%0a%3c [?] String to hash: [*] MD5 hash : 9dc275cb3ffdb686407934814bc5771c%0a%3c ```%0a%3c %0a%3c 2. Create a config file named `samplebot.cfg` with the following content:%0a%3c %0a%3c ```%0a%3c nick samplebot%0a%3c realname Sample Bot%0a%3c altnick samplebot%0a%3c server 198.251.82.194 6667%0a%3c myipv4 127.0.0.1%0a%3c listen 62450%0a%3c ownerpass 9dc275cb3ffdb686407934814bc5771c%0a%3c ```%0a%3c %0a%3c Replace the value for `ownerpass` with the hash obtained from the previous step.%0a%3c %0a%3c 3. Next, encrpyt the raw config file using:%0a%3c %0a%3c ```sh%0a%3c $ ./psotnic -c samplebot.cfg%0a%3c ```%0a%3c %0a%3c 4. Now, run the bot with the encrypted config file:%0a%3c %0a%3c ```sh%0a%3c $ ./psotnic samplebot.cfg%0a%3c ```%0a%3c %0a%3c 5. Create the bot owner on the first run with every new config use telnet:%0a%3c %0a%3c ```sh%0a%3c $ telnet localhost 62450%0a%3c ```%0a%3c %0a%3c Type in the owner password from the first step and create the user by specifying a name and a password.%0a%3c Alternatively, you could directly message the bot on one of the IRC servers from the config file as follows:%0a%3c %0a%3c ```%0a%3c /msg samplebot mainowner %3cOWNERNAME> %3cPASSWORD>%0a%3c ```%0a%3c %0a%3c ## See also:%0a%3c %0a%3c - Psotnic Documentation: https://www.psotnic.com/documentation/%0a +host:1684738974=2a07:e01:3:29c::1 blob - /dev/null blob + d5905ee974e70faa0447af926de2a30bf090fe9d (mode 644) --- /dev/null +++ wiki.d/Psotnic.Install-Draft,del-1684771400 @@ -0,0 +1,24 @@ +version=pmwiki-2.3.20 ordered=1 urlencoded=1 +agent=Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 +author=devune +charset=UTF-8 +csum= +ctime=1684738974 +host=2a07:e01:3:29c::1 +name=Psotnic.Install-Draft +rev=4 +targets= +text=!! Psotnic install guide%0a%0a!!! Overview%0a%0aPsotnic is an IRCnet bot written in C++. The main goal of the project was to create a fast, stable and easy to use bot.%0a%0a!!! Installation%0a%0aPsotnic is not available in the ports of OpenBSD 7.2, therefore it must be built from source.%0a%0a# Grab the source code from the official repository:%0a%0a->[@%0a$ curl -OJL https://github.com/psotnic/psotnic/archive/refs/tags/v0.2.14.tar.gz%0a$ tar -xzvf psotnic-0.2.14%0a$ cd psotnic-0.2.14%0a@]%0a%0a# Apply the patch for OpenBSD 7.2:%0a%0a->[@%0a$ curl -s http://devune.nastycode.com/psotnic-0.2.14-openbsd.patch | patch --posix -p1%0a@]%0a%0a->The patch includes few type castings and enabling clang as default compiler along with required compiler flag changes.%0a%0a# Configure compilation options and build the binary:%0a%0a->[@%0a$ ./configure && make dynamic%0a@]%0a%0a# To verify a successful build go to [@./bin@] directory and run the binary.%0a%0a->[@%0a$ cd ./bin%0a$ ./psotnic%0a@]%0a%0a->You should see the following output if the build is valid:%0a%0a->[@%0aSyntax: ./psotnic [-v] [-a] [-p] [-n] [-c decrypted config] [crypted config]%0a@]%0a%0a!!! Configuration%0a%0aAs a demonestration we will use a dafault config for a bot to connect tor IRCNow server.%0a%0a# Generate a hash of your main password for the bot, using:%0a%0a->[@%0a$ echo "mymainpassword" | ./psotnic -p%0a@]%0a%0a->The output would be similar to the this:%0a%0a->[@%0aPsotnic C++ edition, version 0.2.14-ipv6 (rev: UNKNOWN, build: May 21 2023 09:00:38)%0aCopyright (C) 2003-2007 Grzegorz Rusin %3cgrusin@gmail.com>%0aIf you find this software useful please donate at http://psotnic.sf.net/donate%0a%0a[*] Bot is now running in MD5 hash generator mode%0a[?] String to hash: [*] MD5 hash : 9dc275cb3ffdb686407934814bc5771c%0a@]%0a%0a# Create a config file named [@samplebot.cfg@] with the following content:%0a%0a->[@%0anick samplebot%0arealname Sample Bot%0aaltnick samplebot%0aserver 198.251.82.194 6667%0amyipv4 127.0.0.1%0alisten 62450%0aownerpass 9dc275cb3ffdb686407934814bc5771c%0a@]%0a%0a->Replace the value for [@ownerpass@] with the hash obtained from the previous step.%0a%0a# Next, encrpyt the raw config file using:%0a%0a->[@%0a$ ./psotnic -c samplebot.cfg%0a@]%0a%0a# Now, run the bot with the encrypted config file:%0a%0a->[@%0a$ ./psotnic samplebot.cfg%0a@]%0a%0a# Create the bot owner on the first run with every new config use telnet:%0a%0a->[@%0a$ telnet localhost 62450%0a@]%0a%0a->Type in the owner password from the first step and create the user by specifying a name and a password.%0a->Alternatively, you could directly message the bot on one of the IRC servers from the config file as follows:%0a%0a->[@%0a/msg samplebot mainowner %3cOWNERNAME> %3cPASSWORD>%0a@]%0a%0a!! See also:%0a%0a* Psotnic Documentation: [[https://www.psotnic.com/documentation/]]%0a +time=1684744864 +author:1684744864=devune +diff:1684744864:1684741509:=2c2%0a%3c %0a---%0a> %0a +host:1684744864=2a07:e01:3:29c::1 +author:1684741509=devune +diff:1684741509:1684741446:=50c50%0a%3c # Generate a hash of your main password for the bot, using:%0a---%0a> # Generate a hash of your main password for the bot using:%0a +host:1684741509=2a07:e01:3:29c::1 +author:1684741446=devune +diff:1684741446:1684738974:=1,4c1,4%0a%3c !! Psotnic install guide%0a%3c %0a%3c !!! Overview%0a%3c %0a---%0a> # Psotnic install guide%0a> %0a> ## Overview%0a> %0a7,8c7,8%0a%3c !!! Installation%0a%3c %0a---%0a> ## Installation%0a> %0a11,47c11,46%0a%3c # Grab the source code from the official repository:%0a%3c %0a%3c ->[@%0a%3c $ curl -OJL https://github.com/psotnic/psotnic/archive/refs/tags/v0.2.14.tar.gz%0a%3c $ tar -xzvf psotnic-0.2.14%0a%3c $ cd psotnic-0.2.14%0a%3c @]%0a%3c %0a%3c # Apply the patch for OpenBSD 7.2:%0a%3c %0a%3c ->[@%0a%3c $ curl -s http://devune.nastycode.com/psotnic-0.2.14-openbsd.patch | patch --posix -p1%0a%3c @]%0a%3c %0a%3c ->The patch includes few type castings and enabling clang as default compiler along with required compiler flag changes.%0a%3c %0a%3c # Configure compilation options and build the binary:%0a%3c %0a%3c ->[@%0a%3c $ ./configure && make dynamic%0a%3c @]%0a%3c %0a%3c # To verify a successful build go to [@./bin@] directory and run the binary.%0a%3c %0a%3c ->[@%0a%3c $ cd ./bin%0a%3c $ ./psotnic%0a%3c @]%0a%3c %0a%3c ->You should see the following output if the build is valid:%0a%3c %0a%3c ->[@%0a%3c Syntax: ./psotnic [-v] [-a] [-p] [-n] [-c decrypted config] [crypted config]%0a%3c @]%0a%3c %0a%3c !!! Configuration%0a%3c %0a---%0a> 1. Grab the source code from the official repository:%0a> %0a> ```sh%0a> $ curl -OJL https://github.com/psotnic/psotnic/archive/refs/tags/v0.2.14.tar.gz%0a> $ tar -xzvf psotnic-0.2.14%0a> $ cd psotnic-0.2.14%0a> ```%0a> 2. Apply the patch for OpenBSD 7.2:%0a> %0a> ```sh%0a> $ curl -s http://devune.nastycode.com/psotnic-0.2.14-openbsd.patch | patch --posix -p1%0a> ```%0a> %0a> The patch includes few type castings and enabling clang as default compiler along with required compiler flag changes.%0a> %0a> 3. Configure compilation options and build the binary:%0a> %0a> ```sh%0a> $ ./configure && make dynamic%0a> ```%0a> %0a> 4. To verify a successful build go to `./bin` directory and run the binary.%0a> %0a> ```sh%0a> $ cd ./bin%0a> $ ./psotnic%0a> ```%0a> %0a> You should see the following output if the build is valid:%0a> %0a> ```%0a> Syntax: ./psotnic [-v] [-a] [-p] [-n] [-c decrypted config] [crypted config]%0a> ```%0a> %0a> ## Configuration%0a> %0a50,108c49,107%0a%3c # Generate a hash of your main password for the bot using:%0a%3c %0a%3c ->[@%0a%3c $ echo "mymainpassword" | ./psotnic -p%0a%3c @]%0a%3c %0a%3c ->The output would be similar to the this:%0a%3c %0a%3c ->[@%0a%3c Psotnic C++ edition, version 0.2.14-ipv6 (rev: UNKNOWN, build: May 21 2023 09:00:38)%0a%3c Copyright (C) 2003-2007 Grzegorz Rusin %3cgrusin@gmail.com>%0a%3c If you find this software useful please donate at http://psotnic.sf.net/donate%0a%3c %0a%3c [*] Bot is now running in MD5 hash generator mode%0a%3c [?] String to hash: [*] MD5 hash : 9dc275cb3ffdb686407934814bc5771c%0a%3c @]%0a%3c %0a%3c # Create a config file named [@samplebot.cfg@] with the following content:%0a%3c %0a%3c ->[@%0a%3c nick samplebot%0a%3c realname Sample Bot%0a%3c altnick samplebot%0a%3c server 198.251.82.194 6667%0a%3c myipv4 127.0.0.1%0a%3c listen 62450%0a%3c ownerpass 9dc275cb3ffdb686407934814bc5771c%0a%3c @]%0a%3c %0a%3c ->Replace the value for [@ownerpass@] with the hash obtained from the previous step.%0a%3c %0a%3c # Next, encrpyt the raw config file using:%0a%3c %0a%3c ->[@%0a%3c $ ./psotnic -c samplebot.cfg%0a%3c @]%0a%3c %0a%3c # Now, run the bot with the encrypted config file:%0a%3c %0a%3c ->[@%0a%3c $ ./psotnic samplebot.cfg%0a%3c @]%0a%3c %0a%3c # Create the bot owner on the first run with every new config use telnet:%0a%3c %0a%3c ->[@%0a%3c $ telnet localhost 62450%0a%3c @]%0a%3c %0a%3c ->Type in the owner password from the first step and create the user by specifying a name and a password.%0a%3c ->Alternatively, you could directly message the bot on one of the IRC servers from the config file as follows:%0a%3c %0a%3c ->[@%0a%3c /msg samplebot mainowner %3cOWNERNAME> %3cPASSWORD>%0a%3c @]%0a%3c %0a%3c !! See also:%0a%3c %0a%3c * Psotnic Documentation: [[https://www.psotnic.com/documentation/]]%0a---%0a> 1. Generate a hash of your main password for the bot using:%0a> %0a> ```sh%0a> $ echo "mymainpassword" | ./psotnic -p%0a> ```%0a> %0a> The output would be similar to the this:%0a> %0a> ```%0a> Psotnic C++ edition, version 0.2.14-ipv6 (rev: UNKNOWN, build: May 21 2023 09:00:38)%0a> Copyright (C) 2003-2007 Grzegorz Rusin %3cgrusin@gmail.com>%0a> If you find this software useful please donate at http://psotnic.sf.net/donate%0a> %0a> [*] Bot is now running in MD5 hash generator mode%0a> [?] String to hash: [*] MD5 hash : 9dc275cb3ffdb686407934814bc5771c%0a> ```%0a> %0a> 2. Create a config file named `samplebot.cfg` with the following content:%0a> %0a> ```%0a> nick samplebot%0a> realname Sample Bot%0a> altnick samplebot%0a> server 198.251.82.194 6667%0a> myipv4 127.0.0.1%0a> listen 62450%0a> ownerpass 9dc275cb3ffdb686407934814bc5771c%0a> ```%0a> %0a> Replace the value for `ownerpass` with the hash obtained from the previous step.%0a> %0a> 3. Next, encrpyt the raw config file using:%0a> %0a> ```sh%0a> $ ./psotnic -c samplebot.cfg%0a> ```%0a> %0a> 4. Now, run the bot with the encrypted config file:%0a> %0a> ```sh%0a> $ ./psotnic samplebot.cfg%0a> ```%0a> %0a> 5. Create the bot owner on the first run with every new config use telnet:%0a> %0a> ```sh%0a> $ telnet localhost 62450%0a> ```%0a> %0a> Type in the owner password from the first step and create the user by specifying a name and a password.%0a> Alternatively, you could directly message the bot on one of the IRC servers from the config file as follows:%0a> %0a> ```%0a> /msg samplebot mainowner %3cOWNERNAME> %3cPASSWORD>%0a> ```%0a> %0a> ## See also:%0a> %0a> - Psotnic Documentation: https://www.psotnic.com/documentation/%0a +host:1684741446=2a07:e01:3:29c::1 +author:1684738974=devune +diff:1684738974:1684738974:=1,107d0%0a%3c # Psotnic install guide%0a%3c %0a%3c ## Overview%0a%3c %0a%3c Psotnic is an IRCnet bot written in C++. The main goal of the project was to create a fast, stable and easy to use bot.%0a%3c %0a%3c ## Installation%0a%3c %0a%3c Psotnic is not available in the ports of OpenBSD 7.2, therefore it must be built from source.%0a%3c %0a%3c 1. Grab the source code from the official repository:%0a%3c %0a%3c ```sh%0a%3c $ curl -OJL https://github.com/psotnic/psotnic/archive/refs/tags/v0.2.14.tar.gz%0a%3c $ tar -xzvf psotnic-0.2.14%0a%3c $ cd psotnic-0.2.14%0a%3c ```%0a%3c 2. Apply the patch for OpenBSD 7.2:%0a%3c %0a%3c ```sh%0a%3c $ curl -s http://devune.nastycode.com/psotnic-0.2.14-openbsd.patch | patch --posix -p1%0a%3c ```%0a%3c %0a%3c The patch includes few type castings and enabling clang as default compiler along with required compiler flag changes.%0a%3c %0a%3c 3. Configure compilation options and build the binary:%0a%3c %0a%3c ```sh%0a%3c $ ./configure && make dynamic%0a%3c ```%0a%3c %0a%3c 4. To verify a successful build go to `./bin` directory and run the binary.%0a%3c %0a%3c ```sh%0a%3c $ cd ./bin%0a%3c $ ./psotnic%0a%3c ```%0a%3c %0a%3c You should see the following output if the build is valid:%0a%3c %0a%3c ```%0a%3c Syntax: ./psotnic [-v] [-a] [-p] [-n] [-c decrypted config] [crypted config]%0a%3c ```%0a%3c %0a%3c ## Configuration%0a%3c %0a%3c As a demonestration we will use a dafault config for a bot to connect tor IRCNow server.%0a%3c %0a%3c 1. Generate a hash of your main password for the bot using:%0a%3c %0a%3c ```sh%0a%3c $ echo "mymainpassword" | ./psotnic -p%0a%3c ```%0a%3c %0a%3c The output would be similar to the this:%0a%3c %0a%3c ```%0a%3c Psotnic C++ edition, version 0.2.14-ipv6 (rev: UNKNOWN, build: May 21 2023 09:00:38)%0a%3c Copyright (C) 2003-2007 Grzegorz Rusin %3cgrusin@gmail.com>%0a%3c If you find this software useful please donate at http://psotnic.sf.net/donate%0a%3c %0a%3c [*] Bot is now running in MD5 hash generator mode%0a%3c [?] String to hash: [*] MD5 hash : 9dc275cb3ffdb686407934814bc5771c%0a%3c ```%0a%3c %0a%3c 2. Create a config file named `samplebot.cfg` with the following content:%0a%3c %0a%3c ```%0a%3c nick samplebot%0a%3c realname Sample Bot%0a%3c altnick samplebot%0a%3c server 198.251.82.194 6667%0a%3c myipv4 127.0.0.1%0a%3c listen 62450%0a%3c ownerpass 9dc275cb3ffdb686407934814bc5771c%0a%3c ```%0a%3c %0a%3c Replace the value for `ownerpass` with the hash obtained from the previous step.%0a%3c %0a%3c 3. Next, encrpyt the raw config file using:%0a%3c %0a%3c ```sh%0a%3c $ ./psotnic -c samplebot.cfg%0a%3c ```%0a%3c %0a%3c 4. Now, run the bot with the encrypted config file:%0a%3c %0a%3c ```sh%0a%3c $ ./psotnic samplebot.cfg%0a%3c ```%0a%3c %0a%3c 5. Create the bot owner on the first run with every new config use telnet:%0a%3c %0a%3c ```sh%0a%3c $ telnet localhost 62450%0a%3c ```%0a%3c %0a%3c Type in the owner password from the first step and create the user by specifying a name and a password.%0a%3c Alternatively, you could directly message the bot on one of the IRC servers from the config file as follows:%0a%3c %0a%3c ```%0a%3c /msg samplebot mainowner %3cOWNERNAME> %3cPASSWORD>%0a%3c ```%0a%3c %0a%3c ## See also:%0a%3c %0a%3c - Psotnic Documentation: https://www.psotnic.com/documentation/%0a +host:1684738974=2a07:e01:3:29c::1 blob - /dev/null blob + 83c435f6e4aeacbbd6c5f74c877ed97f15274d81 (mode 644) --- /dev/null +++ wiki.d/Psotnic.RecentChanges @@ -0,0 +1,9 @@ +version=pmwiki-2.3.20 ordered=1 urlencoded=1 +agent=Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 +charset=UTF-8 +ctime=1684738974 +host=2a07:e01:3:29c::1 +name=Psotnic.RecentChanges +rev=2 +text=* [[Psotnic/Install]] . . . @2023-05-22T16:03:20Z by [[~devune]]: [==]%0a +time=1684771400