Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User contributions for Admin

A user with 77 edits. Account created on 4 October 2023.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

16 January 2025

28 November 2024

23 September 2024

26 July 2024

17 July 2024

18 May 2024

  • 21:1121:11, 18 May 2024 diff hist +96 Using Iperf3 for Speed TestingNo edit summary current
  • 21:0821:08, 18 May 2024 diff hist +1,835 N Using Iperf3 for Speed TestingCreated page with "Just found out about a cool little utility called <code>iperf3</code> for testing upload/download speeds between two hosts. On the server make sure to open the testing port on your firewall. Then run the following iperf3 command to start the server in your terminal. iperf3 -s -p 4000 I'm running it on port 4000. Then from the client machine you can run the following to test upload speeds. iperf3 -c SERVER_IP -p 4000 -t 10 If you stick a <code>-R</code> on there t..."

17 May 2024

30 April 2024

  • 01:0901:09, 30 April 2024 diff hist +176 N Do cmd X times without a forloopCreated page with "Say you're in a weird shell and you don't know how to do a forloop. No worries! You can use seq | xargs to run some command any number of times. seq 5 | xargs -I {} echo fart" current

13 April 2024

  • 10:4110:41, 13 April 2024 diff hist +717 N JaphCreated page with "A perl japh is an obfuscated perl program that prints out the message <code>Just another Perl Hacker</code> or <code>Just another Perl Programmer</code>. Here's my first ever attempt at creating a japh. <pre> #!/usr/bin/env perl # John's first japh! use MIME::Base64;use Compress::Zlib;$s='blue23';$p='japh';@k=split '',crypt($p,$s);%h=('1'=>'CEgt','Y'=>'CNk=','0'=>'UUjM','Q'=>'Ti0C ','w'=>'SEzO','l'=>'Ki0u','2'=>'SC1S','3'=>'yy/J','U'=>undef,'7'=> undef,'x'=>'ylHw','N'..."

11 April 2024

  • 04:0804:08, 11 April 2024 diff hist +556 N Encode.phpCreated page with "Encodes a file as base64 gzip compressed payload file. <pre> <?php $input_file = 'info.php'; $output_file = 'x.php'; function removePhpTags($content) { $content = preg_replace('/^<\?php\s*/', '', $content); $content = preg_replace('/\s*\?>$/', '', $content); return $content; } $file_content = file_get_contents($input_file); $file_content = removePhpTags($file_content); $encoded = base64_encode(gzcompress($file_content)); $payload = "<?php eval(gzuncompress(base..."

31 December 2023

  • 03:1403:14, 31 December 2023 diff hist +474 N Virsh list all in jsonCreated page with "The following <code>bash</code> command will list all virsh guests in json. echo "[ $(virsh list --all|grep -Ev 'Id|----'|awk '{print "{ \"id\": \""$1"\", \"name\": \""$2"\", \"state\": \""$3 $4"\"}," }'|head -n -1) {} ]"|jq -r Output example: <pre> [ { "id": "38", "name": "Mac", "state": "running" }, { "id": "39", "name": "Dennis", "state": "running" }, { "id": "40", "name": "Charlie", "state": "running" }, ... </pre>"

14 December 2023

  • 04:0004:00, 14 December 2023 diff hist +618 N Loris.phpCreated page with "Useful little PHP script for holding a connection open for testing. <pre> <?php // John testing holding a connection open, will clean up. Although I guess if // you're reading this that was a lie, sorry... →‎Debug: ini_set('display_errors','1'); ini_set('display_startup_errors','1'); error_reporting (E_ALL); echo "Randomness Begin..."; function random_string($length) { $str = random_bytes($length); $str = base64_encode($str); $str = str_replace(["+", "/..."

2 December 2023

19 October 2023

7 October 2023

4 October 2023

  • 13:4413:44, 4 October 2023 diff hist +2,150 N John's Wiki:Privacy policyCreated page with "Thank you for visiting [Your Wiki Website Name] (the "Website"). At [Your Wiki Website Name], we are committed to protecting your privacy and ensuring the security of your personal information. This Privacy Policy outlines our practices concerning the collection, use, and disclosure of your information. Please take a moment to review this policy carefully. Information We Collect Usage Information: We may collect non-personal information about how you use our Website, s..." current
  • 13:1713:17, 4 October 2023 diff hist +92 N John's Wiki:General disclaimerCreated page with "Do <span style="color:red">NOT</span> eat the <span style="color:yellow">yellow</span> snow!" current
  • 13:0713:07, 4 October 2023 diff hist +79 Main PageNo edit summary current
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)