Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.