Skip to content

Here are some community snippets that allow you to interact with the THM API all within your browsers devtools/console

Notifications You must be signed in to change notification settings

thm-community/snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Snippets

Here are some very useful community snippets that allow you to interact with the THM API all within your browsers devtools/console

Current Snippets:

1. Terminate all running VMs/Instances that you have deployed
  1. Copy the code from the snippet
  2. Access the devtools/console of your web browser whilst logged into TryHackMe
  3. Run the code within the browsers devtools/console
  4. Profit

Terminate all instances devtools

Note: you will not recieve any confirmation output, you can use the snippet below to verify that your instances have now begun terminating.

2. Check what VMs/Instances are currently deployed and the rooms they're deployed within
  1. Copy the code from the snippet
  2. Access the devtools/console of your web browser whilst logged into TryHackMe
  3. Run the code within the browsers devtools/console
  4. Profit

Check what VMs/Instances are deployed and where

This snippet will output the instances that you have running and their IP address like below

Output

3. Leaving Subscriber-only rooms
  1. Copy the code from the snippet
  2. Navigate to any other room that you have access to on TryHackMe. Ensure it is a room otherwise the snippet will fail.
  3. Replace the placeholder room code linuxctf with the room code for the room you want to leave. The room code is found in the URL, i.e. https://tryhackme.com/room/blue will have the room code of blue

Leave Room

Contributors:

With thanks to Szymex73 for snippets 1-3

About

Here are some community snippets that allow you to interact with the THM API all within your browsers devtools/console

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •