// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://tryhackme.com/room/kali
// @grant none
// ==/UserScript==
(function(buy) {
‘use strict’;
setInterval(function(){
var buy = document.getElementById(‘add-vm-time ‘);// Add a tag to your labelid:btnBuy
buy.click();
} 2000000; / 3000 behind is in milliseconds.
setTimeout(“window.location.reload();”,2060000);
/Window.location.reload(); //specify 15 seconds to refresh once
// Your code here…
})();
Note: An extended Tampermonkey or Firefox script plugin to install chrome save this paragraph code add.js (file name taken)
Note: If you hang a script under the windows or kali server, then the script will automatically click on the dd Add Time button for 33 minutes and then refresh it once in one minute because without refreshing, the dd Add Time Button cannot be clicked to grey and can only reload once.
未经允许不得转载:萌萌Apprentissage » Automatically add script columns for kali_room continuation
learn NMAP
linux One Chinese script