<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.24pin.tech/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jdeegan</id>
	<title>24PinTech Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.24pin.tech/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jdeegan"/>
	<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/view/Special:Contributions/Jdeegan"/>
	<updated>2026-05-08T14:59:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1467</id>
		<title>Thor</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1467"/>
		<updated>2021-11-17T18:41:30Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thor is the server that hosts our virtual machines for the IT trainees to use for training. There are 26 total virtual machines, with 6 of them only existing to serve as a base for the other 20. It has 4 gigabit connections that are nic-teamed. &lt;br /&gt;
&lt;br /&gt;
==System Information==&lt;br /&gt;
-Processor: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz &lt;br /&gt;
&lt;br /&gt;
-Memory: 71.99 GB &lt;br /&gt;
&lt;br /&gt;
-Operating system: VMWare EXSi 6.7.0 Update 3 (Build 17167734)&lt;br /&gt;
&lt;br /&gt;
==How to connect to Thor==&lt;br /&gt;
To connect to the ESXi server, go to 10.21.25.8 in a web browser to get to the login. Login using the same credentials you use for the domain.&lt;br /&gt;
&lt;br /&gt;
After logging in, you will be brought to the host page. This gives all sorts of info about Heimdall, such as specs like RAM and CPU, and overall load. You can also restart or shutdown the server by clicking the buttons at the top.&lt;br /&gt;
&lt;br /&gt;
==Connecting to virtual machines==&lt;br /&gt;
To connect to the virtual machines, click the &amp;quot;Virtual Machines&amp;quot; tab on the left. This will bring up the list of all the virtual machines. You can select some, or all, and power them on or shut them down from here. Or you can click on the name of the virtual machine to bring up more information about it, connect, and do more detailed things. Once in a virtual machine's page, you can power it on or shut it down, view ram and processor usage, network info, storage, connect to the VM, and edit it's settings. We really should only need to power on/off, connect, and occasionally restore the virtual machine from snapshots if something goes wrong. To connect, a virtual machine must be powered on. Once it is powered on, click on the &amp;quot;Console&amp;quot; button at the top left. This will give you some options to connect. You can open it as a window in the ESXi console with &amp;quot;open browser console&amp;quot;, or you can open it in a new browser tab or window with the new tab or new window links. You can also use VMRC, which is a proprietary connection made by VMWare, this has not been tested on our servers at the time of writing.&lt;br /&gt;
&lt;br /&gt;
To restore a virtual machine from a snapshot, you must be in the virtual machine's page (by clicking it's name in the list of virtual machines), then click actions. Then click snapshots from the dropdown, and then restore snapshot. It will ask you if you want to restore from the latest one, and click restore if the newest one works (We currently only have one snapshot saved for all of them, which is confirmed good). To manually pick a snapshot to restore from, choose manage snapshots instead of restore snapshots, and it will take you to the list of snapshots. At the time of writing the &amp;quot;Original&amp;quot; snapshot is the only one that exists, which is the first snapshot that we made after creating. This is the one to go to if all else fails, and will probably be the only snapshot. When you know which one you want to choose from the list, click the name, then click restore snapshot from the top of the popup window. Then confirm by clicking restore.&lt;br /&gt;
&lt;br /&gt;
==Mounting a USB or portable HDD==&lt;br /&gt;
In order to add software to a VM it is necessary to have the ability to transfer files from a USB or a portable HD. The following will guide you through that process. Download the software you need to a portable HD or a USB drive and attach the drive to Thor. Then power on the VM you wish to install the software to. Then right click on the VM and edit settings. Click the add other device link and choose USB device. You should then see the device that you attached to the computer in the drop down list, choose it and click save. Then log into the VM and open file explorer. You should now see the device you attached, just open it to access your file and install the software as you normally would. Here is a link that explains the process.&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=cdvPNhG1GYg&lt;br /&gt;
&lt;br /&gt;
== Cloning an Image ==&lt;br /&gt;
&lt;br /&gt;
* Right click on the image to be cloned&lt;br /&gt;
* Click export with images&lt;br /&gt;
* Choose only the vmdk file&lt;br /&gt;
* Export&lt;br /&gt;
* Click &amp;quot;Create/Register VM&amp;quot;&lt;br /&gt;
* Click &amp;quot;Deploy a virtual machine from an OVF or OVA file&amp;quot;&lt;br /&gt;
* Name it &amp;quot;&amp;lt;name of original image&amp;gt; (&amp;lt;iteration&amp;gt;)&amp;quot;&lt;br /&gt;
** Example: Networking Image (1) &lt;br /&gt;
&lt;br /&gt;
* Upload the exported OVF template and VMDK file&lt;br /&gt;
* Hit next and select literally any disk except for &amp;quot;Images for cloning&amp;quot;&lt;br /&gt;
* hit next twice&lt;br /&gt;
* Finish&lt;br /&gt;
&lt;br /&gt;
==Installing EXSI==&lt;br /&gt;
https://my.vmware.com/en/web/vmware/evalcenter?p=free-esxi6&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Sharing_%22Student_Access%22_wifi_with_a_Raspberry_Pi&amp;diff=1444</id>
		<title>Sharing &quot;Student Access&quot; wifi with a Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Sharing_%22Student_Access%22_wifi_with_a_Raspberry_Pi&amp;diff=1444"/>
		<updated>2021-11-03T15:20:32Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Hardware==&lt;br /&gt;
The hardware required includes:&lt;br /&gt;
&lt;br /&gt;
*Raspberry Pi&lt;br /&gt;
*Laptop with access to the &amp;quot;Student Access&amp;quot; network (Admin Required)&lt;br /&gt;
*USB type C cable&lt;br /&gt;
*Ethernet Cable&lt;br /&gt;
*Micro SD Card&lt;br /&gt;
*Either a MIcro SD to SD or USB to Micro SD adapter&lt;br /&gt;
&lt;br /&gt;
==Setting up the SD card==&lt;br /&gt;
&lt;br /&gt;
#Insert the SD card into the laptop&lt;br /&gt;
#Install the Raspberry Pi imaging tool (https://downloads.raspberrypi.org/imager/imager_latest.exe)&lt;br /&gt;
#Run the imaging tool, and select Raspberry Pi OS Lite for the OS and your SD card as the media&lt;br /&gt;
#Write the image to the drive, and remove the drive from the laptop&lt;br /&gt;
&lt;br /&gt;
==Setting up the laptop==&lt;br /&gt;
&lt;br /&gt;
#Open control panel&lt;br /&gt;
#Network and Internet&lt;br /&gt;
#Network and Sharing Center&lt;br /&gt;
#Change adapter settings&lt;br /&gt;
#Right click the wireless adapter, Properties&lt;br /&gt;
#Sharing, check &amp;quot;Allow other network users to connect through this computer's Internet connection&amp;quot;&lt;br /&gt;
#Select &amp;quot;Ethernet&amp;quot; on the drop-down that says &amp;quot;Select a private network connection&amp;quot; and hit OK&lt;br /&gt;
&lt;br /&gt;
==Configuring the Pi==&lt;br /&gt;
&lt;br /&gt;
#Insert the SD card into the Pi and plug it in to the laptop via ethernet and USB-C&lt;br /&gt;
#After it boots, open Command Prompt on the laptop&lt;br /&gt;
#arp -a to find the IP of the Pi&lt;br /&gt;
#ssh pi@&amp;lt;IP&amp;gt;&lt;br /&gt;
#password is raspberry&lt;br /&gt;
#change the password to whatever you want with &amp;quot;sudo passwd pi&amp;quot;&lt;br /&gt;
#update and upgrade &amp;quot;sudo apt update &amp;amp;&amp;amp; sudo apt full-upgrade&amp;quot;&lt;br /&gt;
#reboot&lt;br /&gt;
#sudo raspi-setup&lt;br /&gt;
#set the wireless location to the us&lt;br /&gt;
#reboot&lt;br /&gt;
#sudo apt install curl&lt;br /&gt;
#curl -sL &amp;lt;nowiki&amp;gt;https://install.raspap.com&amp;lt;/nowiki&amp;gt; | bash&lt;br /&gt;
#default ssid is raspui-webgui and password is ChangeMe&lt;br /&gt;
#default webgui user is admin and password is secret&lt;br /&gt;
&lt;br /&gt;
#&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Sharing_%22Student_Access%22_wifi_with_a_Raspberry_Pi&amp;diff=1441</id>
		<title>Sharing &quot;Student Access&quot; wifi with a Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Sharing_%22Student_Access%22_wifi_with_a_Raspberry_Pi&amp;diff=1441"/>
		<updated>2021-11-02T16:12:05Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Hardware==&lt;br /&gt;
The hardware required includes:&lt;br /&gt;
&lt;br /&gt;
*Raspberry Pi&lt;br /&gt;
*Laptop with access to the &amp;quot;Student Access&amp;quot; network (Admin Required)&lt;br /&gt;
*USB type C cable&lt;br /&gt;
*Ethernet Cable&lt;br /&gt;
*Micro SD Card&lt;br /&gt;
*Either a MIcro SD to SD or USB to Micro SD adapter&lt;br /&gt;
&lt;br /&gt;
==Setting up the SD card==&lt;br /&gt;
&lt;br /&gt;
#Insert the SD card into the laptop&lt;br /&gt;
#Install the Raspberry Pi imaging tool (https://downloads.raspberrypi.org/imager/imager_latest.exe)&lt;br /&gt;
#Run the imaging tool, and select Raspberry Pi OS Lite for the OS and your SD card as the media&lt;br /&gt;
#Write the image to the drive, and remove the drive from the laptop&lt;br /&gt;
&lt;br /&gt;
==Setting up the laptop==&lt;br /&gt;
&lt;br /&gt;
#Open control panel&lt;br /&gt;
#Network and Internet&lt;br /&gt;
#Network and Sharing Center&lt;br /&gt;
#Change adapter settings&lt;br /&gt;
#Right click the wireless adapter, Properties&lt;br /&gt;
#Sharing, check &amp;quot;Allow other network users to connect through this computer's Internet connection&amp;quot;&lt;br /&gt;
#Select &amp;quot;Ethernet&amp;quot; on the drop-down that says &amp;quot;Select a private network connection&amp;quot; and hit OK&lt;br /&gt;
&lt;br /&gt;
== Configuring the Pi ==&lt;br /&gt;
&lt;br /&gt;
# Insert the SD card into the Pi and plug it in to the laptop via ethernet and USB-C&lt;br /&gt;
# After it boots, open Command Prompt on the laptop&lt;br /&gt;
# arp -a to find the IP of the Pi&lt;br /&gt;
# ssh pi@&amp;lt;IP&amp;gt; &lt;br /&gt;
# password is raspberry&lt;br /&gt;
# change the password to whatever you want with &amp;quot;sudo passwd pi&amp;quot;&lt;br /&gt;
# update and upgrade &amp;quot;sudo apt update &amp;amp;&amp;amp; sudo apt full-upgrade&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Sharing_%22Student_Access%22_wifi_with_a_Raspberry_Pi&amp;diff=1440</id>
		<title>Sharing &quot;Student Access&quot; wifi with a Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Sharing_%22Student_Access%22_wifi_with_a_Raspberry_Pi&amp;diff=1440"/>
		<updated>2021-11-02T16:08:34Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Hardware==&lt;br /&gt;
The hardware required includes:&lt;br /&gt;
&lt;br /&gt;
*Raspberry Pi&lt;br /&gt;
*Laptop with access to the &amp;quot;Student Access&amp;quot; network (Admin Required)&lt;br /&gt;
*USB type C cable&lt;br /&gt;
*Ethernet Cable&lt;br /&gt;
*Micro SD Card&lt;br /&gt;
*Either a MIcro SD to SD or USB to Micro SD adapter&lt;br /&gt;
&lt;br /&gt;
==Setting up the SD card==&lt;br /&gt;
&lt;br /&gt;
#Insert the SD card into the laptop&lt;br /&gt;
#Install the Raspberry Pi imaging tool (https://downloads.raspberrypi.org/imager/imager_latest.exe)&lt;br /&gt;
#Run the imaging tool, and select Raspberry Pi OS Lite for the OS and your SD card as the media&lt;br /&gt;
#Write the image to the drive, and remove the drive from the laptop&lt;br /&gt;
&lt;br /&gt;
==Setting up the laptop==&lt;br /&gt;
&lt;br /&gt;
#Open control panel&lt;br /&gt;
#Network and Internet&lt;br /&gt;
#Network and Sharing Center&lt;br /&gt;
#Change adapter settings&lt;br /&gt;
#Right click the wireless adapter, Properties&lt;br /&gt;
#Sharing, check &amp;quot;Allow other network users to connect through this computer's Internet connection&amp;quot;&lt;br /&gt;
#Select &amp;quot;Ethernet&amp;quot; on the drop-down that says &amp;quot;Select a private network connection&amp;quot; and hit OK&lt;br /&gt;
&lt;br /&gt;
#&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Sharing_%22Student_Access%22_wifi_with_a_Raspberry_Pi&amp;diff=1439</id>
		<title>Sharing &quot;Student Access&quot; wifi with a Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Sharing_%22Student_Access%22_wifi_with_a_Raspberry_Pi&amp;diff=1439"/>
		<updated>2021-11-02T15:18:58Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hardware ==&lt;br /&gt;
The hardware required includes:&lt;br /&gt;
&lt;br /&gt;
* Raspberry Pi&lt;br /&gt;
* Laptop with access to the &amp;quot;Student Access&amp;quot; network (Admin Required)&lt;br /&gt;
* USB type C cable&lt;br /&gt;
* Ethernet Cable&lt;br /&gt;
* Micro SD Card&lt;br /&gt;
* Either a MIcro SD to SD or USB to Micro SD adapter&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD card ==&lt;br /&gt;
&lt;br /&gt;
# Insert the SD card into the laptop&lt;br /&gt;
# Install the Raspberry Pi imaging tool (https://downloads.raspberrypi.org/imager/imager_latest.exe)&lt;br /&gt;
# Run the imaging tool, and select Raspberry Pi OS Lite for the OS and your SD card as the media&lt;br /&gt;
# Write the image to the drive, and remove the drive from the laptop&lt;br /&gt;
&lt;br /&gt;
== Setting up the laptop ==&lt;br /&gt;
&lt;br /&gt;
# Open control panel&lt;br /&gt;
#&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Sharing_%22Student_Access%22_wifi_with_a_Raspberry_Pi&amp;diff=1438</id>
		<title>Sharing &quot;Student Access&quot; wifi with a Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Sharing_%22Student_Access%22_wifi_with_a_Raspberry_Pi&amp;diff=1438"/>
		<updated>2021-11-02T15:04:14Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: Created page with &amp;quot;With the recent BYOD outages, I have come to be sick of not being able to use my phone while in the 100 building. As a result, I confured a Raspberry Pi to share the &amp;quot;Student...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the recent BYOD outages, I have come to be sick of not being able to use my phone while in the 100 building. As a result, I confured a Raspberry Pi to share the &amp;quot;Student Access&amp;quot; connection from my laptop to my phone&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1377</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1377"/>
		<updated>2021-08-26T15:42:12Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Deegan) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a program, or pretty much whatever upon an established connection. They probably work, aside from the netstat part taking up a disproportionate amount of time compared to the rest of the commands.&lt;br /&gt;
&lt;br /&gt;
==Contents of funny.bat==&lt;br /&gt;
''@ECHO ON''&lt;br /&gt;
&lt;br /&gt;
''netstat |find &amp;quot;5900&amp;quot; |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''set /p connection_status= &amp;lt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''del output.txt''&lt;br /&gt;
&lt;br /&gt;
''IF &amp;quot;%connection_status%&amp;quot; == &amp;quot;&amp;quot; ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b''&lt;br /&gt;
&lt;br /&gt;
'') Else msg /server:127.0.0.1 &amp;lt;insert your student ID number&amp;gt; &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b''&lt;br /&gt;
&lt;br /&gt;
==Contents of no_connection.bat==&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original iteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon an active connection.&lt;br /&gt;
&lt;br /&gt;
==Github link==&lt;br /&gt;
https://github.com/thechudster1/connection-detection&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1376</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1376"/>
		<updated>2021-08-26T15:41:20Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Deegan) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a program, or pretty much whatever upon an established connection. They probably work, aside from the netstat part taking up a disproportionate amount of time compared to the rest of the commands.&lt;br /&gt;
&lt;br /&gt;
==Contents of funny.bat==&lt;br /&gt;
''@ECHO ON''&lt;br /&gt;
&lt;br /&gt;
''netstat |find &amp;quot;5900&amp;quot; |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''set /p connection_status= &amp;lt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''del output.txt''&lt;br /&gt;
&lt;br /&gt;
''IF &amp;quot;%connection_status%&amp;quot; == &amp;quot;&amp;quot; ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b''&lt;br /&gt;
&lt;br /&gt;
'') Else msg /server:127.0.0.1 &amp;lt;insert your student ID number&amp;gt; &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b''&lt;br /&gt;
&lt;br /&gt;
==Contents of no_connection.bat==&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original iteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon an active connection.&lt;br /&gt;
&lt;br /&gt;
==Github link==&lt;br /&gt;
[https://github.com/SirShronk/connection-detection https://github.com/thechudster1/connection-detection]&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1313</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1313"/>
		<updated>2021-05-14T00:32:59Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Deegan) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a program, or pretty much whatever upon an established connection. They probably work, aside from the netstat part taking up a disproportionate amount of time compared to the rest of the commands.&lt;br /&gt;
&lt;br /&gt;
==Contents of funny.bat==&lt;br /&gt;
''@ECHO ON''&lt;br /&gt;
&lt;br /&gt;
''netstat |find &amp;quot;5900&amp;quot; |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''set /p connection_status= &amp;lt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''del output.txt''&lt;br /&gt;
&lt;br /&gt;
''IF &amp;quot;%connection_status%&amp;quot; == &amp;quot;&amp;quot; ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b''&lt;br /&gt;
&lt;br /&gt;
'') Else msg /server:127.0.0.1 &amp;lt;insert your student ID number&amp;gt; &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b''&lt;br /&gt;
&lt;br /&gt;
==Contents of no_connection.bat==&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original itteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon an active connection.&lt;br /&gt;
&lt;br /&gt;
==Github link==&lt;br /&gt;
https://github.com/SirShronk/connection-detection&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1312</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1312"/>
		<updated>2021-05-14T00:20:19Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Deegan) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a program, or pretty much whatever upon an established connection. They probably work, aside from the netstat part taking up a disproportionate amount of time compared to the rest of the commands.&lt;br /&gt;
&lt;br /&gt;
== Contents of funny.bat ==&lt;br /&gt;
''@ECHO ON''&lt;br /&gt;
&lt;br /&gt;
''netstat |find &amp;quot;5900&amp;quot; |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''set /p connection_status= &amp;lt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''del output.txt''&lt;br /&gt;
&lt;br /&gt;
''IF &amp;quot;%connection_status%&amp;quot; == &amp;quot;&amp;quot; ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b''&lt;br /&gt;
&lt;br /&gt;
'') Else msg /server:127.0.0.1 &amp;lt;insert your student ID number&amp;gt; &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b''&lt;br /&gt;
&lt;br /&gt;
== Contents of no_connection.bat ==&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original itteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon and active connection.&lt;br /&gt;
&lt;br /&gt;
==Github link==&lt;br /&gt;
https://github.com/SirShronk/connection-detection&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1311</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1311"/>
		<updated>2021-05-13T15:58:53Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Deegan) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a program, or pretty much whatever upon an established connection. They probably work, aside from the netstat part taking up a disproportionate amount of time compared to the rest of the commands.&lt;br /&gt;
&lt;br /&gt;
==Contents of the files==&lt;br /&gt;
funny.bat-&lt;br /&gt;
&lt;br /&gt;
@ECHO ON&lt;br /&gt;
&lt;br /&gt;
netstat |find &amp;quot;5900&amp;quot; |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt &lt;br /&gt;
&lt;br /&gt;
set /p connection_status= &amp;lt; output.txt &lt;br /&gt;
&lt;br /&gt;
del output.txt&lt;br /&gt;
&lt;br /&gt;
IF &amp;quot;%connection_status%&amp;quot; == &amp;quot;&amp;quot; ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
) Else msg /server:127.0.0.1 &amp;lt;insert your student ID number&amp;gt; &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
no_connection.bat-&lt;br /&gt;
&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original itteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon and active connection.&lt;br /&gt;
&lt;br /&gt;
== Github link ==&lt;br /&gt;
https://github.com/SirShronk/connection-detection&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1310</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1310"/>
		<updated>2021-05-13T15:58:03Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Deegan) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a program, or pretty much whatever upon an established connection. They probably work, aside from the netstat part taking up a disproportionate amount of time compared to the rest of the commands.&lt;br /&gt;
&lt;br /&gt;
==Contents of the files==&lt;br /&gt;
funny.bat-&lt;br /&gt;
&lt;br /&gt;
@ECHO ON&lt;br /&gt;
&lt;br /&gt;
netstat |find &amp;quot;5900&amp;quot; |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt &lt;br /&gt;
&lt;br /&gt;
set /p connection_status= &amp;lt; output.txt &lt;br /&gt;
&lt;br /&gt;
del output.txt&lt;br /&gt;
&lt;br /&gt;
IF &amp;quot;%connection_status%&amp;quot; == &amp;quot;&amp;quot; ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
) Else msg /server:127.0.0.1 &amp;lt;insert your student ID number&amp;gt; &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
no_connection.bat-&lt;br /&gt;
&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original itteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon and active connection.&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1309</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1309"/>
		<updated>2021-05-13T15:57:42Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Jeremiah) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a game, or pretty much whatever upon an established connection. They probably work, aside from the netstat part taking up a disproportionate amount of time compared to the rest of the commands.&lt;br /&gt;
&lt;br /&gt;
==Contents of the files==&lt;br /&gt;
funny.bat-&lt;br /&gt;
&lt;br /&gt;
@ECHO ON&lt;br /&gt;
&lt;br /&gt;
netstat |find &amp;quot;5900&amp;quot; |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt &lt;br /&gt;
&lt;br /&gt;
set /p connection_status= &amp;lt; output.txt &lt;br /&gt;
&lt;br /&gt;
del output.txt&lt;br /&gt;
&lt;br /&gt;
IF &amp;quot;%connection_status%&amp;quot; == &amp;quot;&amp;quot; ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
) Else msg /server:127.0.0.1 &amp;lt;insert your student ID number&amp;gt; &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
no_connection.bat-&lt;br /&gt;
&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original itteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon and active connection.&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1308</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1308"/>
		<updated>2021-05-13T15:44:47Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Jeremiah) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a game, or pretty much whatever upon an established connection. They probably work, aside from the netstat part taking up a disproportionate amount of time compared to the rest of the commands.&lt;br /&gt;
&lt;br /&gt;
==Contents of the files==&lt;br /&gt;
funny.bat-&lt;br /&gt;
&lt;br /&gt;
@ECHO ON&lt;br /&gt;
&lt;br /&gt;
netstat |find &amp;quot;5900&amp;quot; |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt &lt;br /&gt;
&lt;br /&gt;
set /p connection_status= &amp;lt; output.txt &lt;br /&gt;
&lt;br /&gt;
del output.txt&lt;br /&gt;
&lt;br /&gt;
IF &amp;quot;%connection_status%&amp;quot; == &amp;quot;&amp;quot; ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
) Else msg /server:127.0.0.1 34017912 &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
no_connection.bat-&lt;br /&gt;
&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original itteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon and active connection.&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1307</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1307"/>
		<updated>2021-05-13T15:42:59Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Jeremiah) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a game, or pretty much whatever upon an established connection. They probably work, I think.&lt;br /&gt;
&lt;br /&gt;
==Contents of the files==&lt;br /&gt;
funny.bat-&lt;br /&gt;
&lt;br /&gt;
@ECHO ON&lt;br /&gt;
&lt;br /&gt;
netstat |find &amp;quot;5900&amp;quot; |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt &lt;br /&gt;
&lt;br /&gt;
set /p connection_status= &amp;lt; output.txt &lt;br /&gt;
&lt;br /&gt;
del output.txt&lt;br /&gt;
&lt;br /&gt;
IF &amp;quot;%connection_status%&amp;quot; == &amp;quot;&amp;quot; ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
) Else msg /server:127.0.0.1 34017912 &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
no_connection.bat-&lt;br /&gt;
&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original itteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon and active connection.&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1306</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1306"/>
		<updated>2021-05-13T15:42:03Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Jeremiah) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a game, or pretty much whatever upon an established connection. They probably work, I think.&lt;br /&gt;
&lt;br /&gt;
==Contents of the files==&lt;br /&gt;
funny.bat-&lt;br /&gt;
&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
&lt;br /&gt;
netstat |find &amp;quot;5900&amp;quot; |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt &lt;br /&gt;
&lt;br /&gt;
set /p connection_status= &amp;lt; output.txt &lt;br /&gt;
&lt;br /&gt;
del output.txt&lt;br /&gt;
&lt;br /&gt;
IF &amp;quot;%connection_status%&amp;quot; == &amp;quot;&amp;quot; ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
) Else msg /server:127.0.0.1 34017912 &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
no_connection.bat-&lt;br /&gt;
&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original itteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon and active connection.&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1305</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1305"/>
		<updated>2021-05-13T15:34:07Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Jeremiah) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a game, or pretty much whatever upon an established connection. They probably work, I think.&lt;br /&gt;
&lt;br /&gt;
==Contents of the files==&lt;br /&gt;
funny.bat-&lt;br /&gt;
&lt;br /&gt;
''@ECHO OFF''&lt;br /&gt;
&lt;br /&gt;
''netstat |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''set /p connection_status= &amp;lt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''del output.txt''&lt;br /&gt;
&lt;br /&gt;
''IF &amp;quot;%connection_status&amp;quot; == [] ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b''&lt;br /&gt;
&lt;br /&gt;
	'') Else msg /server:127.0.0.1 34017912 &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b''&lt;br /&gt;
&lt;br /&gt;
no_connection.bat-&lt;br /&gt;
&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original itteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon and active connection.&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1304</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1304"/>
		<updated>2021-05-13T15:31:55Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Jeremiah) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a game, or pretty much whatever upon an established connection. They probably work, I think.&lt;br /&gt;
&lt;br /&gt;
==Contents of the files==&lt;br /&gt;
funny.bat-&lt;br /&gt;
&lt;br /&gt;
@ECHO-OFF&lt;br /&gt;
&lt;br /&gt;
netstat |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt &lt;br /&gt;
&lt;br /&gt;
set /p connection_status= &amp;lt; output.txt &lt;br /&gt;
&lt;br /&gt;
del output.txt&lt;br /&gt;
&lt;br /&gt;
IF &amp;quot;%connection_status&amp;quot; == &amp;quot;&amp;quot; ( call no_connection.bat &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
) Else msg /server:127.0.0.1 34017912 &amp;quot;Eyes up, idiot!&amp;quot; &amp;amp;&amp;amp; EXIT /b&lt;br /&gt;
&lt;br /&gt;
no_connection.bat-&lt;br /&gt;
&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
==How they work==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original itteration of funny.bat, thus not allowing the script to progress to the final line. If the variable is not empty, the last line will send a server message to the loopback address and the final line will close the script. The last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon and active connection.&lt;br /&gt;
&lt;br /&gt;
==Netstat==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1303</id>
		<title>Big-brother-is-watching</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Big-brother-is-watching&amp;diff=1303"/>
		<updated>2021-05-13T15:26:08Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: Created page with &amp;quot;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Jeremiah) wrote a series of scripts that send a server message when he remotes in. They can be modified...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mr.Chamberlain can remote into the CTE computers in the lab now, so I (Jeremiah) wrote a series of scripts that send a server message when he remotes in. They can be modified to close a game, or pretty much whatever upon an established connection. They probably work, I think.&lt;br /&gt;
&lt;br /&gt;
== Contents of the files ==&lt;br /&gt;
funny.bat-&lt;br /&gt;
&lt;br /&gt;
''@ECHO-OFF''&lt;br /&gt;
&lt;br /&gt;
''netstat |find &amp;quot;MHS118TW_MACPRO&amp;quot; |find &amp;quot;ESTABLISHED&amp;quot; &amp;gt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''set /p connection_status= &amp;lt; output.txt'' &lt;br /&gt;
&lt;br /&gt;
''del output.txt''&lt;br /&gt;
&lt;br /&gt;
''IF &amp;quot;%connection_status&amp;quot; == &amp;quot;&amp;quot; call no_connection.bat &amp;amp;&amp;amp; EXIT /B''&lt;br /&gt;
&lt;br /&gt;
''msg /server:127.0.0.1 &amp;lt;insert your student ID&amp;gt; &amp;quot;Eyes up, idiot!&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
no_connection.bat-&lt;br /&gt;
&lt;br /&gt;
''call funny.bat''&lt;br /&gt;
&lt;br /&gt;
''EXIT /B''&lt;br /&gt;
&lt;br /&gt;
== How they work ==&lt;br /&gt;
Upon running funny.bat, it runs a netstat and checks for an established connection from Chamberlains computer, and sends the output to a text file. The contents of the file are then set as variable %connection_status and it checks if the variable is empty. If it's empty, it will call the no_connection.bat script which just restarts funny.bat and kills the original itteration of funny.bat, thus not allowing the script to progress to the final two lines. If the variable is not empty, the second to last line will send a server message to the loopback address and the final line will close the script. The second to last line can be modified to kill a process by changing th command that is run. &amp;quot;Taskkill /F /IM chrome.exe /T&amp;quot; for example would kill chrome upon and active connection.&lt;br /&gt;
&lt;br /&gt;
== Netstat ==&lt;br /&gt;
Netstat explanation because Mr. Chamberlain said so: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1246</id>
		<title>Thor</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1246"/>
		<updated>2021-04-19T15:30:41Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thor is the server that hosts our virtual machines for the IT trainees to use for training. There are 26 total virtual machines, with 6 of them only existing to serve as a base for the other 20. It has 4 gigabit connections that are nic-teamed. &lt;br /&gt;
&lt;br /&gt;
== System Information ==&lt;br /&gt;
-Processor: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz &lt;br /&gt;
&lt;br /&gt;
-Memory: 71.99 GB &lt;br /&gt;
&lt;br /&gt;
-Operating system: VMWare EXSi 6.7.0 Update 3 (Build 17167734)&lt;br /&gt;
&lt;br /&gt;
== How to connect to Thor ==&lt;br /&gt;
To connect to the ESXi server, go to 10.21.25.8 in a web browser to get to the login. Login using the same credentials you use for the domain.&lt;br /&gt;
&lt;br /&gt;
After logging in, you will be brought to the host page. This gives all sorts of info about Heimdall, such as specs like RAM and CPU, and overall load. You can also restart or shutdown the server by clicking the buttons at the top.&lt;br /&gt;
&lt;br /&gt;
== Connecting to virtual machines ==&lt;br /&gt;
To connect to the virtual machines, click the &amp;quot;Virtual Machines&amp;quot; tab on the left. This will bring up the list of all the virtual machines. You can select some, or all, and power them on or shut them down from here. Or you can click on the name of the virtual machine to bring up more information about it, connect, and do more detailed things. Once in a virtual machine's page, you can power it on or shut it down, view ram and processor usage, network info, storage, connect to the VM, and edit it's settings. We really should only need to power on/off, connect, and occasionally restore the virtual machine from snapshots if something goes wrong. To connect, a virtual machine must be powered on. Once it is powered on, click on the &amp;quot;Console&amp;quot; button at the top left. This will give you some options to connect. You can open it as a window in the ESXi console with &amp;quot;open browser console&amp;quot;, or you can open it in a new browser tab or window with the new tab or new window links. You can also use VMRC, which is a proprietary connection made by VMWare, this has not been tested on our servers at the time of writing.&lt;br /&gt;
&lt;br /&gt;
To restore a virtual machine from a snapshot, you must be in the virtual machine's page (by clicking it's name in the list of virtual machines), then click actions. Then click snapshots from the dropdown, and then restore snapshot. It will ask you if you want to restore from the latest one, and click restore if the newest one works (We currently only have one snapshot saved for all of them, which is confirmed good). To manually pick a snapshot to restore from, choose manage snapshots instead of restore snapshots, and it will take you to the list of snapshots. At the time of writing the &amp;quot;Original&amp;quot; snapshot is the only one that exists, which is the first snapshot that we made after creating. This is the one to go to if all else fails, and will probably be the only snapshot. When you know which one you want to choose from the list, click the name, then click restore snapshot from the top of the popup window. Then confirm by clicking restore.&lt;br /&gt;
&lt;br /&gt;
== Mounting a USB or portable HDD ==&lt;br /&gt;
In order to add software to a VM it is necessary to have the ability to transfer files from a USB or a portable HD. The following will guide you through that process. Download the software you need to a portable HD or a USB drive and attach the drive to Thor. Then power on the VM you wish to install the software to. Then right click on the VM and edit settings. Click the add other device link and choose USB device. You should then see the device that you attached to the computer in the drop down list, choose it and click save. Then log into the VM and open file explorer. You should now see the device you attached, just open it to access your file and install the software as you normally would. Here is a link that explains the process.&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=cdvPNhG1GYg&lt;br /&gt;
&lt;br /&gt;
== Installing EXSI ==&lt;br /&gt;
https://my.vmware.com/en/web/vmware/evalcenter?p=free-esxi6&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1210</id>
		<title>Thor</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1210"/>
		<updated>2021-04-15T14:56:31Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thor is the server that hosts our virtual machines for the IT trainees to use for training. There are 26 total virtual machines, with 6 of them only existing to serve as a base for the other 20. It has 4 gigabit connections that are nic-teamed. &lt;br /&gt;
&lt;br /&gt;
System Information: &lt;br /&gt;
&lt;br /&gt;
-Processor: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz &lt;br /&gt;
&lt;br /&gt;
-Memory: 71.99 GB &lt;br /&gt;
&lt;br /&gt;
-Operating system: VMWare EXSi 6.7.0 Update 3 (Build 17167734)&lt;br /&gt;
&lt;br /&gt;
How to connect to Thor:&lt;br /&gt;
&lt;br /&gt;
To connect to the ESXi server, go to 10.21.25.8 in a web browser to get to the login. Login using the same credentials you use for the domain.&lt;br /&gt;
&lt;br /&gt;
After logging in, you will be brought to the host page. This gives all sorts of info about Heimdall, such as specs like RAM and CPU, and overall load. You can also restart or shutdown the server by clicking the buttons at the top.&lt;br /&gt;
&lt;br /&gt;
Connecting to virtual machines:&lt;br /&gt;
&lt;br /&gt;
To connect to the virtual machines, click the &amp;quot;Virtual Machines&amp;quot; tab on the left. This will bring up the list of all the virtual machines. You can select some, or all, and power them on or shut them down from here. Or you can click on the name of the virtual machine to bring up more information about it, connect, and do more detailed things. Once in a virtual machine's page, you can power it on or shut it down, view ram and processor usage, network info, storage, connect to the VM, and edit it's settings. We really should only need to power on/off, connect, and occasionally restore the virtual machine from snapshots if something goes wrong. To connect, a virtual machine must be powered on. Once it is powered on, click on the &amp;quot;Console&amp;quot; button at the top left. This will give you some options to connect. You can open it as a window in the ESXi console with &amp;quot;open browser console&amp;quot;, or you can open it in a new browser tab or window with the new tab or new window links. You can also use VMRC, which is a proprietary connection made by VMWare, this has not been tested on our servers at the time of writing.&lt;br /&gt;
&lt;br /&gt;
To restore a virtual machine from a snapshot, you must be in the virtual machine's page (by clicking it's name in the list of virtual machines), then click actions. Then click snapshots from the dropdown, and then restore snapshot. It will ask you if you want to restore from the latest one, and click restore if the newest one works (We currently only have one snapshot saved for all of them, which is confirmed good). To manually pick a snapshot to restore from, choose manage snapshots instead of restore snapshots, and it will take you to the list of snapshots. At the time of writing the &amp;quot;Original&amp;quot; snapshot is the only one that exists, which is the first snapshot that we made after creating. This is the one to go to if all else fails, and will probably be the only snapshot. When you know which one you want to choose from the list, click the name, then click restore snapshot from the top of the popup window. Then confirm by clicking restore.&lt;br /&gt;
&lt;br /&gt;
Mounting a USB or portable HDD:&lt;br /&gt;
&lt;br /&gt;
In order to add software to a VM it is necessary to have the ability to transfer files from a USB or a portable HD. The following will guide you through that process. Download the software you need to a portable HD or a USB drive and attach the drive to Heimdall. Then power on the VM you wish to install the software to. Then right click on the VM and edit settings. Click the add other device link and choose USB device. You should then see the device that you attached to the computer in the drop down list, choose it and click save. Then log into the VM and open file explorer. You should now see the device you attached, just open it to access your file and install the software as you normally would. Here is a link that explains the process.&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=cdvPNhG1GYg&lt;br /&gt;
&lt;br /&gt;
Installing EXSI: https://my.vmware.com/en/web/vmware/evalcenter?p=free-esxi6&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1195</id>
		<title>Thor</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1195"/>
		<updated>2021-04-14T15:41:59Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thor is the server that hosts our virtual machines for the IT trainees to use for training. There are 26 total virtual machines, with 6 of them only existing to serve as a base for the other 20. It has 4 gigabit connections that are nic-teamed.&lt;br /&gt;
&lt;br /&gt;
System Information: &lt;br /&gt;
&lt;br /&gt;
Services:&lt;br /&gt;
&lt;br /&gt;
How to connect to Thor:&lt;br /&gt;
&lt;br /&gt;
Connecting to virtual machines:&lt;br /&gt;
&lt;br /&gt;
Mounting a USB or portable HDD:&lt;br /&gt;
&lt;br /&gt;
Installing EXSI: https://my.vmware.com/en/web/vmware/evalcenter?p=free-esxi6&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1182</id>
		<title>Thor</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1182"/>
		<updated>2021-04-12T19:32:18Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thor is the server that hosts our virtual machines for the IT trainees to use for training. There are 26 total virtual machines, with 6 of them only existing to serve as a base for the other 20. It has 4 gigabit connections that are nic-teamed, and&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1141</id>
		<title>Thor</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Thor&amp;diff=1141"/>
		<updated>2021-03-31T15:32:51Z</updated>

		<summary type="html">&lt;p&gt;Jdeegan: Created page with &amp;quot;thor is here, hold on to your socks ladies and gentlemen&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;thor is here, hold on to your socks ladies and gentlemen&lt;/div&gt;</summary>
		<author><name>Jdeegan</name></author>
	</entry>
</feed>