mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-23 21:03:11 +00:00
playing with colors
This commit is contained in:
parent
a082ac12a0
commit
67e34877c3
4 changed files with 14 additions and 6 deletions
8
api.js
8
api.js
|
@ -77,6 +77,14 @@ async function set_up_api_server(app) {
|
|||
// Session management
|
||||
app.use(session_wrapper_function);
|
||||
|
||||
// Limit how big uploads are
|
||||
app.use(fileUpload({
|
||||
limits: {
|
||||
fileSize: 2000000 //2mb
|
||||
},
|
||||
abortOnLimit: true
|
||||
}));
|
||||
|
||||
// If that's not present, the request should be rejected.
|
||||
app.use(async function(req, res, next) {
|
||||
// Must be an API route else CSRF protection doesn't matter
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title>XSS Hunter Express</title>
|
||||
<title>XSS Hunter</title>
|
||||
|
||||
<!-- Fonts and icons -->
|
||||
<link href="fonts/fonts.css" rel="stylesheet">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<!-- Login modal if not authenticated -->
|
||||
<modal class="show d-block" body-classes="p-0" modal-classes="modal-dialog-centered modal-sm ]" v-if="show_login_prompt">
|
||||
<card type="secondary" header-classes="bg-white pb-5" body-classes="px-lg-5 py-lg-5" class="border-0 mb-0" style="text-align: center">
|
||||
<h3>XSS Hunter Express<br />
|
||||
<h3>XSS Hunter<br />
|
||||
<i>Please login to continue.</i></h3>
|
||||
<base-input alternative v-model="password" type="password" placeholder="Password" autofocus v-on:keyup.enter="attempt_login"></base-input>
|
||||
<base-button block simple type="primary" v-on:click="attempt_login">
|
||||
|
@ -101,7 +101,7 @@ function get_random_number_in_range(min, max) {
|
|||
}
|
||||
|
||||
.eye-pink {
|
||||
color: #e14eca;
|
||||
color: #5BB381;
|
||||
}
|
||||
|
||||
.progress-bar-animated {
|
||||
|
@ -120,7 +120,7 @@ function get_random_number_in_range(min, max) {
|
|||
color: #fff;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
background-color: #007bff;
|
||||
background-color: #6B5B9A;
|
||||
transition: width .6s ease;
|
||||
}
|
||||
|
||||
|
@ -148,6 +148,6 @@ function get_random_number_in_range(min, max) {
|
|||
}
|
||||
|
||||
.bg-purp {
|
||||
background-color: #8965e0 !important;
|
||||
background-color: #6B5B9A !important;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
default: "XSS Hunter Express"
|
||||
default: "XSS Hunter"
|
||||
},
|
||||
backgroundColor: {
|
||||
type: String,
|
||||
|
|
Loading…
Reference in a new issue