Skip to content

Instantly share code, notes, and snippets.

@exploitio
Last active December 27, 2021 23:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exploitio/1159ebb6465d568e9364d7f55b8f7a9f to your computer and use it in GitHub Desktop.
Save exploitio/1159ebb6465d568e9364d7f55b8f7a9f to your computer and use it in GitHub Desktop.
HACKTHEBOX.EU Generate Invite Code
function verifyInviteCode(code) {
var formData = {
"code": "YLPWT-OHRVC-*****-*****-*****"
};
$.ajax({
type: "POST",
dataType: "json",
data: formData,
url: '/api/invite/verify',
success: function(response) {
console.log(response)
},
error: function(response) {
console.log(response)
}
})
}
function makeInviteCode() {
$.ajax({
type: "POST",
dataType: "json",
url: '/api/invite/how/to/generate',
success: function(response) {
console.log(response)
},
error: function(response) {
console.log(response)
}
})
}
function postRequest() {
$.ajax({
type: "POST",
dataType: "json",
url: '/api/invite/generate',
success: function(response) {
console.log(response)
},
error: function(response) {
console.log(response)
}
})
}
sudo apt update
sudo apt install openvpn
sudo openvpn file-name.ovpn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment