Added JQuery + custom .js file, updated bootstrap / css

This commit is contained in:
thomashaw
2017-04-27 12:28:28 +01:00
parent 35fc36a204
commit a78af06f9b
9 changed files with 25968 additions and 17 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -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,

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>