Skip to content

Instantly share code, notes, and snippets.

@VictorNS69
Created September 1, 2023 10:05
Show Gist options
  • Save VictorNS69/554aa58157730e78776d0db421f49386 to your computer and use it in GitHub Desktop.
Save VictorNS69/554aa58157730e78776d0db421f49386 to your computer and use it in GitHub Desktop.
Subdomain Takeover template
<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<title>Subdomain Takeover</title>
<script> alert("This subdomain is vulnerable")</script>
</head>
<body>
<style>
.page_404 {
padding: 40px 0;
background: #fff;
font-family: 'Arvo', serif;
}
.page_404 img {
width: 100%;
}
.four_zero_four_bg {
background-image: url(https://giphy.com/gifs/cat-hacker-webs-o0vwzuFwCGAFO);
height: 400px;
background-position: center;
}
.four_zero_four_bg h1 {
font-size: 80px;
}
.four_zero_four_bg h3 {
font-size: 80px;
}
.link_404 {
color: #fff !important;
padding: 10px 20px;
background: #39ac31;
margin: 20px 0;
display: inline-block;
}
.contant_box_404 {
margin-top: -50px;
}
</style>
<section class="page_404">
<div class="container">
<div class="row">
<div class="col-sm-12 ">
<div class="">
<div class="four_zero_four_bg">
<h1 class="text-center">Subdomain Takeover</h1>
<iframe src="https://giphy.com/embed/o0vwzuFwCGAFO" width="480" height="480" frameBorder="0" class="giphy-embed" allowFullScreen></iframe><p><a href="https://giphy.com/gifs/cat-hacker-webs-o0vwzuFwCGAFO">via GIPHY</a></p>
</div>
<div class="contant_box_404">
<h3 class="h2" align="right">
My name Víctor Nieves
</h3>
<p align="right">The subdomain is vulnerable</p>
</div>
</div>
</div>
</div>
</div>
</section>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment