Open main menu
Posts
Gists
Guilds
Users
Decipher
Docs
Open user menu
Log in
Sign up
Create a new gist
Posts
Gists
Guilds
Users
Decipher
Docs
Files
web_changer.src
htmls/bank.html
htmls/rental.html
htmls/coin.html
htmls/shop.html
htmls/email.html
web_changer.src
print("YOU SHOULD USE THIS COMMAND WITH SUDO")
pc = get_shell.host_computer
httpd = include_lib("/lib/libhttp.so")
if not httpd then
exit "libhttp should be installed"
end if
if pc.File("/Public") == null then
print "installing http server"
output = httpd.install_service
if output != true then exit(output)
end if
httpd.start_service
if pc.File("/Public/htdocs/htmls") == null then
exit "ERROR: move htmls folder to /Public/htdocs"
end if
websites = pc.File("/Public/htdocs/htmls").get_files
while true
for f in websites
print("["+__f_idx + "] " + f.name)
end for
print("[q] EXIT")
opt = user_input("opt: ")
if opt == "q" then
httpd.stop_service
exit("[+] <color=red>Webserver closed")
else
opt = websites[opt.to_int]
html = pc.File("/Public/htdocs/website.html")
if html then html.set_content(opt.get_content)
clear_screen
print("[!] <color=orange>" + opt.name + " is up in " + pc.local_ip + char(10))
end if
end while
htmls/bank.html
<!DOCTYPE html>
<style type='text/css'>
h1 { font-size: 40px; text-align: center}
body { font: 12px Helvetica, sans-serif; color: #333; margin:0; overflow-y:auto; height:100%; }
.btn {
background-color: #072C3F;
border: 1px solid #4B4B4B;
color: white;
padding: 8px 8px;
font-size: 18;
width: 130px;
}
.btn-group button:hover {
background-color: #137AACFF;
}
article { display: block; text-align: left; width: 600px; margin: 0 auto; }
html{
background-color: white;
height:100%;
}
.btn-group{
text-align: center;
}
.logo{
text-align: center;
padding: 10px;
}
img{
display: block;
margin: 0 auto;
}
</style>
<div style="background-color:#4A6470;color:white;padding:11px;">
<font size="30">Eners</font>
</div>
<div style="background-color:#00445A;color:white;padding:5px;">
<div class="btn-group">
<button type="button" class="btn btn-primary" id="Home">Home</button>
<button type="button" class="btn btn-primary" id="RegisterBank">Register</button>
<button type="button" class="btn btn-primary" id="LoginBank">Login</button>
</div>
</div>
<article>
<div class="logo text-center">
<p>
Do you need a reliable bank to store your money?<br>
In Eners we have the solution.
</p>
<img src="bank.png" width="120" height="120" align="center">
</div>
</article>
htmls/rental.html
<!doctype html>
<style>
h1 { font-size: 16px; text-align: center; color: grey;}
p { color: whitesmoke; }
body { font: 20px Helvetica, sans-serif; color: #333; margin:0; overflow-y:auto; height:100%; }
.btn {
background-color: #006699;
border: 1px solid grey;
color: white;
padding: 8px 8px;
text-align: center;
text-decoration: none;
display: inline-block;
font: 18;
width: 130px;
}
article { display: block; text-align: left; width: 600px; margin: 0 auto; }
html{
background-color: #10063D;
height:100%;
}
.btn-sel{
background-color: #008CD1;
}
.btn-group button:hover {
background-color: #008CD1;
}
.btn-group{
padding-top: 4px;
}
.logo{
text-align: center;
padding: 10px;
}
img{
display: block;
margin: 0 auto;
}
</style>
</div>
<div padding:11px;">
<div class="btn-group" style="text-align: center;">
<button type="button" class="btn btn-primary" id="Home">Main</button>
<button type="button" class="btn btn-primary" id="ISPConfig">Services</button>
</div>
</div>
<article>
<div class="logo text-center">
<p><i>
Orthwestgroupb. Secure and fast Internet Provider Service.
<font size=13>
<br>* Rental servers available
<br>* Cancel your subscription at any time
<br>* Subscription is paused when you don't use it
</font>
</i></p>
<img src="isp.jpg" width="440" height="180" align="center"><br>
</div>
</article>
htmls/coin.html
<!doctype html>
<style>
h1 { font-size: 16px; text-align: center; color: grey;}
p { color: whitesmoke; }
body { font: 20px Helvetica, sans-serif; color: #335; margin:0; overflow-y:auto; height:100%; }
.btn {
background-color: #006100;
border: 1px solid grey;
color: white;
padding: 8px 8px;
text-align: center;
text-decoration: none;
display: inline-block;
font: 18;
width: 130px;
}
article { display: block; text-align: left; width: 600px; margin: 0 auto; }
html{
background-color: #21333D;
height:100%;
}
.btn-sel{
background-color: #008CD1;
}
.btn-group button:hover {
background-color: #006199;
}
.btn-group{
padding-top: 4px;
}
.logo{
text-align: center;
padding: 10px;
}
img{
display: block;
margin: 0 auto;
}
</style>
</div>
<div padding:11px;">
<div class="btn-group" style="text-align: center;">
<button type="button" class="btn btn-primary" id="Home">Main</button>
<button type="button" class="btn btn-primary" id="CreateCurrency">Services</button>
</div>
</div>
<article>
<div class="logo text-center">
<p><i>
Circhilo. Create your own coin now!
</i></p>
<img src="Currency.jpg" width="440" height="180" align="center"><br>
</div>
</article>
htmls/shop.html
<!DOCTYPE html>
<style type='text/css'>
body { font: 12px Helvetica, sans-serif; margin:0; overflow-y:auto; height:100%; }
html{
background-color: #607662FF;
height:100%;
margin:0; overflow-y:auto;
}
.hackshop {
text-align: center;
padding: 100px;
padding-top: 25px;
}
.btn {
background-color: #28381EFF;
border: 1px solid #B2B2B2FF;
color: #C1C1C1FF;
padding: 8px 8px;
text-align: center;
text-decoration: none;
display: inline-block;
font: 18;
width: 130px;
}
.btn-sel{
background-color: #3D542FFF;
}
.btn-group button:hover {
background-color: #3D542FFF;
}
</style>
<div style="background-color:#768E7AFF;color:white;padding:3px;">
<div class="btn-group" style="text-align: center;">
<button type="button" class="btn btn-primary btn-sel" id="Home">Main</button>
<button type="button" class="btn btn-primary" id="InformaticaShop">Shop</button>
</div>
</div>
<div class="hackshop">
<img src="shop_alter.jpg" width="250" height="145" align="center">
<p style="font-size:18px;">Welcome</p>
<p>
We are the best computer store in the network.<br>
Enter and check our stock! We have the best prices!
</p>
</div>
htmls/email.html
<!DOCTYPE html>
<style type='text/css'>
h1 { font-size: 40px; text-align: center}
body { font: 12px Helvetica, sans-serif; color: #333; margin:0; overflow-y:auto; height:100%; }
.btn {
background-color: #444444FF;
border: 1px solid #B2B2B2FF;
color: #C1C1C1FF;
padding: 8px 8px;
font-size: 18;
width: 130px;
}
.btn-group button:hover {
background-color: #690000FF;
}
article { display: block; text-align: left; width: 600px; margin: 0 auto; }
html{
background-color: white;
height:100%;
}
.mainText{
text-align: center;
padding: 10px;
}
.logo{
text-align: right;
position: absolute;
right: 10px;
font-size: 25px;
}
img{
display: block;
margin: 0 auto;
}
</style>
</div>
<div style="background-color:#A92222FF;color:white;padding:11px;">
<div class="logo">Ixtells</div>
<div class="btn-group">
<button type="button" class="btn btn-primary" id="Home">Main</button>
<button type="button" class="btn btn-primary" id="RegisterMail">Email services</button>
<button type="button" class="btn btn-primary">News</button>
</div>
</div>
<article>
<div class="mainText">
<p>
At Ixtells we offer you a powerful mail service so you can use it in a professional and private environment.
</p>
<img src="email_alter.png" width="85" height="85" align="center">
</div>
</article>