Browse Source

Default

master
ManicSec 2 years ago
parent
commit
c4e361075d

+ 58
- 0
gulpfile.js View File

@@ -0,0 +1,58 @@
// Needed variable requirements
var browserSync = require('browser-sync').create();
var gulp = require('gulp');
var gulpCleanCSS = require('gulp-clean-css');
var gulpRename = require('gulp-rename');
var gulpSass = require('gulp-sass');

// Compile sass(scss) into CSS
gulp.task('styles:compile', function() {
return gulp.src([
'node_modules/bootstrap/scss/bootstrap.scss', 'public/scss/*.scss'
])
.pipe(gulpSass())
.pipe(gulp.dest('public/styles'));
});

// Minify CSS for speed stability
gulp.task('styles:minify', function() {
return gulp.src([
'public/styles/*.css',
'!public/styles/*.min.css'
])
.pipe(gulpCleanCSS())
.pipe(gulpRename({suffix: '.min'}))
.pipe(gulp.dest('public/styles'));
});

// Move JS files into public/scripts
gulp.task('scripts:move', function() {
return gulp.src([
'node_modules/bootstrap/dist/js/bootstrap.min.js', 'node_modules/jquery/dist/jquery.min.js'
])
.pipe(gulp.dest('public/scripts'))
.pipe(browserSync.stream());
});

// Lets run styles & scripts
gulp.task('prepare', ['styles:compile', 'styles:minify', 'scripts:move']);

// Lets serve static & watch scss/html files
gulp.task('serve', ['prepare'], function() {
browserSync.init({
server: 'public'
});
gulp.watch('public/styles/*.css', ['styles:minify']).on('change', browserSync.reload);
gulp.watch('public/scripts/*.js', ['scripts:move']).on('change', browserSync.reload);
gulp.watch('public/index.html').on('change', browserSync.reload);
});

gulp.task('default', function() {
console.log(
"\nDON'T RUN DIRECTLY!\n\n"
+ "You must execute one of the below affixed to gulp.\n"
+ " - prepare\n"
+ " - serve ( Does the same as prepare, while serving the content. )\n"
);
});

+ 1
- 1
main.js View File

@@ -86,7 +86,7 @@ app.use((req, res, next) => {
});

/** Static Serving */
app.use(serveIndex(wwwRoot, {'icons': true}))
app.use(serveIndex(wwwRoot, {'icons': true}));
app.use(serveStatic(wwwRoot, { maxAge: hourMs, 'index': false }));

/** Static Errors */

+ 10
- 0
package.json View File

@@ -15,17 +15,27 @@
"contributors": [],
"dependencies": {
"body-parser": "^1.17.1",
"bootstrap": "^4.0.0",
"content-disposition": "^0.5.2",
"cors": "^2.8.4",
"express": "^4.15.2",
"fresh-up": "0.0.3",
"fs": "0.0.1-security",
"jquery": "^3.3.1",
"mkdirp": "^0.5.1",
"morgan": "^1.8.1",
"popper.js": "^1.12.9",
"serve-index": "^1.8.0",
"serve-static": "^1.12.1"
},
"scripts": {
"start": "node main.js"
},
"devDependencies": {
"browser-sync": "^2.23.6",
"gulp": "^3.9.1",
"gulp-clean-css": "^3.9.2",
"gulp-rename": "^1.2.2",
"gulp-sass": "^3.1.0"
}
}

+ 18
- 4
public/index.html View File

@@ -1,12 +1,26 @@
<!DOCTYPE html>
<html>
<!doctype html>
<html class='no-js' lang="en">
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>PS4 Breacher - To breach the unbreachable!</title>
<!-- Bootstrap Styles -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:400,800">
<link rel='stylesheet' href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="styles/bootstrap.css">
<!-- Custom Styles -->
<link rel='stylesheet' href='styles/reset.css'>
<link rel='stylesheet' href='styles/main.css'>
<script type='text/javascript' src='scripts/jquery.min.js'></script>
<script src="scripts/jquery.min.js"></script>
<script src="scripts/bootstrap.min.js"></script>
<!-- PS4 Related Scripts
<script type='text/javascript' src='scripts/jquery.min.js'></script> -->
<script type='text/javascript' src='scripts/utils.log.js'></script>
<script type='text/javascript' src='scripts/utils.js'></script>
<script type='text/javascript' src='scripts/utils.exploit.js'></script>

+ 7
- 0
public/scripts/bootstrap.min.js
File diff suppressed because it is too large
View File


+ 0
- 2
public/scripts/jquery-migrate-1.4.1.min.js
File diff suppressed because it is too large
View File


+ 2
- 4
public/scripts/jquery.min.js
File diff suppressed because it is too large
View File


+ 0
- 0
public/scripts/kernel.js View File


+ 1
- 1
public/scripts/userland.js View File

@@ -129,7 +129,7 @@ function init() {
setTimeout(function() {
success();
}, 3000);
return 0;
setTimeout(function() {
logAdd('Starting Userland Breach.');
userland_exploit();

+ 6027
- 0
public/styles/bootstrap.css
File diff suppressed because it is too large
View File


+ 6
- 0
public/styles/bootstrap.min.css
File diff suppressed because it is too large
View File


+ 1
- 0
public/styles/main.min.css View File

@@ -0,0 +1 @@
body,html{background:#000;height:100%}stop-scrolling{height:100%;overflow:hidden}h1{display:block;font-size:50px;font-weight:700;margin-top:25px;margin-bottom:0;text-shadow:0 0 25px #daa520}h2{display:block;font-size:20px;font-weight:700;margin-top:5px;margin-bottom:25px;text-shadow:0 0 25px #daa520}h3{display:block;font-size:20px;font-weight:700;margin-top:5px;margin-bottom:5px;text-shadow:0 0 25px #daa520}h4{display:block;font-size:15px;font-weight:700;margin-top:5px;margin-bottom:5px;text-shadow:0 0 25px #daa520}h5{display:block;font-size:15px;font-weight:700;margin-top:5px;margin-bottom:5px;text-shadow:0 0 25px #daa520}.info{overflow:hidden;position:fixed;position:absolute;top:50%;left:50%;font-size:45px;font-family:sans-serif;transform:translate(-50%,-50%)}#loader-wrapper{position:fixed;top:175px;bottom:0;width:100%;background:#000}.loader{position:relative;top:35%;left:50%;margin:-75px 0 0 -75px;border:10px solid maroon;border-radius:50%;border-top:10px solid gold;border-left:10px solid gold;width:120px;height:120px;position:absolute;-webkit-animation:spin 1s linear infinite}.loader-text{font-size:60px;font-family:sans-serif;font-weight:700;text-align:center;text-shadow:0 0 25px #daa520;top:55%;left:0;right:0;width:100%;position:absolute;-webkit-animation:flash-fade 2s linear infinite}.failed-text{display:none;font-size:60px;font-family:sans-serif;font-weight:700;text-align:center;text-shadow:0 0 25px #daa520;top:10%;left:0;right:0;width:100%;position:absolute;-webkit-animation:flash-fade 2s linear infinite}.failed-info{color:#daa520;display:none;font-size:15px;font-family:sans-serif;text-align:center;top:23%;left:0;right:0;width:100%;position:absolute}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@-webkit-keyframes flash-fade{0%{text-shadow:0 0 25px #000}25%{text-shadow:0 0 25px #856514}50%{text-shadow:0 0 25px #daa520}75%{text-shadow:0 0 25px #856514}100%{text-shadow:0 0 25px #000}}#wrapper{background:-webkit-linear-gradient(top,#000 0,#45484d 100%);background:linear-gradient(to bottom,#000 0,#45484d 100%);margin:0 auto -20px;min-height:100%;height:auto!important;height:100%;width:99.5%}#header{border-bottom:2px dashed #daa520;border-radius:0 0 50px 50px;color:#daa520;text-align:center;position:absolute;left:0;right:0}#navigation{border-bottom:2px dashed #daa520;top:133px;text-align:center;position:relative;height:38px}#navigation input{color:#daa520;background:#000;border:2px solid gold;padding:3px 10px 5px 10px}#navigation-after-exploit{display:none;background-color:#45484d;border:2px dashed #daa520;border-radius:0 0 50px 0;text-align:center;padding-top:20px;top:0;bottom:0;right:80px;position:absolute;width:15%;height:370px}#navigation-after-exploit input{color:#daa520;background:#000;border:2px solid #daa520;padding:10px 10px 10px 10px;width:90%}#main{border-radius:0 0 50px 50px;top:172px;bottom:220px;position:relative;left:0;right:0}#main .log{display:none;border:#daa520 2px dashed;border-radius:0 0 0 50px;color:#daa520;background-color:#45484d;padding:30px;top:0;bottom:0;left:80px;width:68%;height:330px;position:absolute;overflow:hidden}#footer{border-top:2px dashed #daa520;background:#000;bottom:0;color:#daa520;text-align:center;position:fixed;width:99.5%}

+ 1
- 0
public/styles/reset.min.css View File

@@ -0,0 +1 @@
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}

Loading…
Cancel
Save