commit 96e16347cde1d96ee6c1099d54d147d31c390998 from: barth date: Sat Nov 02 11:18:20 2024 UTC added a section about new repo creation commit - db15241dfb6058730890c76eb943c65cc624c6fc commit + 96e16347cde1d96ee6c1099d54d147d31c390998 blob - c0076360733563e5f8da4475f8ec7118e726891c blob + 3b76709ddfdc5a2aa1795aa8277a4b8a72bd5b6c --- got_usage.org +++ got_usage.org @@ -40,3 +40,12 @@ When you are done, stage the changes #+begin_src sh got send #+end_src + +** Create a new repository + +#+begin_src sh + doas git init /var/init/repo.git + doas got import -r /var/init/repo.git /path/to/repo +#+end_src + +After that, you have to modify /etc/gotd.conf blob - 5075e00ea879cae86a8a408802395625c274e79e blob + 9be1e97c118eb12f382cb3e3c81cab8c6194d818 --- user_fingerprint.org +++ user_fingerprint.org @@ -41,7 +41,7 @@ See : [[eww:https://wiki.ircnow.org/?n=Police.Fingerpr #+begin_src sh :results output USER=KinG; - IP=; + IP=39.38.97.110; doas su botnow -c "sqlite3 /var/www/botnow/botnow.db \ 'select nick, ip, date from irc where nick=\"$USER\" \ or ip=\"$IP\";'" @@ -72,8 +72,8 @@ Connecting from ... ** Find if user has already requested an email, bnc, shell account #+begin_src sh :results output - EMAIL="mendoanp45@gmail.com"; - USER="samin"; + EMAIL="bosssohaib2@gmail.com"; + USER="KinG"; echo 'has user already requested an email account?' doas su botnow -c "sqlite3 /var/www/botnow/botnow.db \ @@ -85,7 +85,7 @@ Connecting from ... 'select id, ircid, username, email from bnc where email =\"$EMAIL\" \ or username = \"$USER\";'" - echo 'has user already requested an email account?' + echo 'has user already requested a shell account?' doas su botnow -c "sqlite3 /var/www/botnow/botnow.db \ 'select id, ircid, username, email from shell where email =\"$EMAIL\" \ or username = \"$USER\";'" @@ -94,13 +94,15 @@ Connecting from ... #+RESULTS: : has user already requested an email account? : has user already requested a bnc account? -: 109|4929705759429656576|samin|mendoanp45@gmail.com -: has user already requested an email account? +: has user already requested a shell account? +: 57|1431422139|KinG|bosssohaib2@gmail.com ** Use Botnow's report tool to check user's IP's -#+begin_src sh +#+begin_src sh :results output doas su botnow; cd; - ./report username + ./report king #+end_src + +#+RESULTS: