Skip to content

Commit

Permalink
Update Vulnerable Page Host
Browse files Browse the repository at this point in the history
  • Loading branch information
Snbig committed Apr 29, 2024
1 parent 3f08db3 commit 68aadb0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ASVS_12_1_1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<body>
<h2>Upload a File</h2>
<p>Allowed file size: <strong>1 MB</strong></p>
<form action="https://spotless-frog-wetsuit.cyclic.cloud/upload" method="post" enctype="multipart/form-data">
<form action="https://vulnerable-pages.onrender.com/upload" method="post" enctype="multipart/form-data">
<input type="file" name="file" accept=".txt, .pdf, .docx, .zip"> <!-- Accept attribute restricts file types -->
<br><br>
<input type="submit" value="Upload">
Expand Down
2 changes: 1 addition & 1 deletion ASVS_13_2_2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h1>Send name and age in JSON</h1>
};

// Make a POST request to the Flask endpoint
fetch('https://spotless-frog-wetsuit.cyclic.cloud/submit-json', {
fetch('https://vulnerable-pages.onrender.com/submit-json', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down
2 changes: 1 addition & 1 deletion ASVS_13_3_1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h1>Send Username and Email in XML</h1>

// Send XML data to the server (you can customize the URL and method)
var xhr = new XMLHttpRequest();
xhr.open('POST', 'https://spotless-frog-wetsuit.cyclic.cloud/submit-xml', true);
xhr.open('POST', 'https://vulnerable-pages.onrender.com/submit-xml', true);
xhr.setRequestHeader('Content-Type', 'application/xml');
xhr.onreadystatechange = function() {
if (xhr.readyState == 4) {
Expand Down
2 changes: 1 addition & 1 deletion ASVS_14_5_2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1>Vulnerable Page</h1>
<script>
function callApi() {
// Make a GET request to the API endpoint
fetch('https://spotless-frog-wetsuit.cyclic.cloud/protected')
fetch('https://vulnerable-pages.onrender.com/protected')
.then(response => response.json())
.then(data => {
// Display the API response in the 'response' paragraph
Expand Down
2 changes: 1 addition & 1 deletion ASVS_14_5_3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1>Vulnerable Page</h1>
<script>
function deleteAccount(accountId) {
// Construct the API endpoint URL with the account ID
const apiUrl = `https://spotless-frog-wetsuit.cyclic.cloud/accounts/${accountId}`;
const apiUrl = `https://vulnerable-pages.onrender.com/accounts/${accountId}`;

// Make a DELETE request to the constructed API endpoint
fetch(apiUrl, {
Expand Down

0 comments on commit 68aadb0

Please sign in to comment.