mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-23 04:08:02 +00:00
Added JQuery + custom .js file, updated bootstrap / css
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
11008
modules/vulnerabilities/unix/webapp/parameterised_website/files/js/jquery-1.12.4.js
vendored
Normal file
11008
modules/vulnerabilities/unix/webapp/parameterised_website/files/js/jquery-1.12.4.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
14912
modules/vulnerabilities/unix/webapp/parameterised_website/files/js/jquery-ui.js
vendored
Normal file
14912
modules/vulnerabilities/unix/webapp/parameterised_website/files/js/jquery-ui.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -56,6 +56,11 @@ class parameterised_website::install {
|
||||
content => template('parameterised_website/contact.html.erb'),
|
||||
}
|
||||
|
||||
# TODO: make this non-shitty
|
||||
exec { 'echo_a_test_html':
|
||||
command => "/bin/echo '<b>asdfasdfasdf</b>' >> $docroot/test.html; /bin/echo '<b>success!</b>' >> $docroot/test1.html"
|
||||
}
|
||||
|
||||
::secgen_functions::leak_files{ 'parameterised_website-image-leak':
|
||||
storage_directory => $docroot,
|
||||
images_to_leak => $images_to_leak,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<footer>
|
||||
<!-- Latest compiled and minified JavaScript -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
<!-- TODO: Remove me? Drop some more info here? -->
|
||||
</footer>
|
||||
|
||||
@@ -1,11 +1,18 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title><%= @business_name %> - <%=$current_page %></title>
|
||||
|
||||
<!-- Default stylesheet -->
|
||||
<link rel="stylesheet" href="css/default.css"/>
|
||||
<!-- Latest compiled and minified CSS -->
|
||||
<link rel="stylesheet" href="css/bootstrap.min.css" />
|
||||
<!-- Optional theme -->
|
||||
<link rel="stylesheet" href=css/bootstrap-theme.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/default.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
|
||||
|
||||
<!-- Latest compiled JavaScript -->
|
||||
<script type="text/javascript" src="js/jquery-1.12.4.js"></script>
|
||||
<script type="text/javascript" src="js/jquery-ui.js"></script>
|
||||
<script type="text/javascript" src="js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="js/default.js"></script>
|
||||
|
||||
</head>
|
||||
@@ -45,6 +45,16 @@
|
||||
<generator type="flag_generator" />
|
||||
</input>
|
||||
</encoder>
|
||||
<generator type="ctf_challenge">
|
||||
<input into="strings_to_encode">
|
||||
<generator type="flag_generator" />
|
||||
</input>
|
||||
</generator>
|
||||
<generator type="ctf_challenge">
|
||||
<input into="strings_to_encode">
|
||||
<generator type="flag_generator" />
|
||||
</input>
|
||||
</generator>
|
||||
<encoder type="ascii_reversable">
|
||||
<input into="strings_to_encode">
|
||||
<encoder type="ascii_reversable">
|
||||
@@ -55,14 +65,26 @@
|
||||
</input>
|
||||
</encoder>
|
||||
</input>
|
||||
<input into="images_to_leak">
|
||||
<generator type="image_challenge_generator">
|
||||
<input into="strings_to_encode">
|
||||
<generator type="flag_generator" />
|
||||
</input>
|
||||
</generator>
|
||||
<generator type="image_challenge_generator">
|
||||
<input into="strings_to_encode">
|
||||
<generator type="flag_generator" />
|
||||
</input>
|
||||
</generator>
|
||||
</input>
|
||||
</vulnerability>
|
||||
|
||||
<network module_path=".*private_network_1"/>
|
||||
<build type="cleanup">
|
||||
<input into="root_password">
|
||||
<generator type="strong_password_generator"/>
|
||||
</input>
|
||||
</build>
|
||||
<!--<build type="cleanup">-->
|
||||
<!--<input into="root_password">-->
|
||||
<!--<generator type="strong_password_generator"/>-->
|
||||
<!--</input>-->
|
||||
<!--</build>-->
|
||||
</system>
|
||||
|
||||
</scenario>
|
||||
Reference in New Issue
Block a user