diff --git a/Code/daryll/capstone/README.md b/Code/daryll/capstone/README.md new file mode 100644 index 00000000..e656b197 --- /dev/null +++ b/Code/daryll/capstone/README.md @@ -0,0 +1,16 @@ +Proposal: +Create a website scraper to clone websites for offensive security personnel to use as phishing sites to lure victims into entering their real credentials into a cloned website. + +I plan to use website scraper APIs to clone a real site and be able to start the site and use it for phishing campaigns. + +To-Do: +1. Write code in python to to test API functionality +2. Set-up Django back-end +3. Convert python code into Django compatible code +4. Set-up HTML front-end + a. Create input field for user to enter url to clone + b. Create input filed for user to enter number of levels to clone + c. *Create Status Indicator + d. Create button to start cloned website + e. *Create pass-through to pass credentials to real url + \ No newline at end of file diff --git a/Code/daryll/html_css_flask/Lab5_Burrito Order Form/burrito.jpg b/Code/daryll/html_css_flask/Lab5_Burrito Order Form/burrito.jpg new file mode 100644 index 00000000..9cef07b1 Binary files /dev/null and b/Code/daryll/html_css_flask/Lab5_Burrito Order Form/burrito.jpg differ diff --git a/Code/daryll/html_css_flask/Lab5_Burrito Order Form/index.html b/Code/daryll/html_css_flask/Lab5_Burrito Order Form/index.html new file mode 100644 index 00000000..d384c13c --- /dev/null +++ b/Code/daryll/html_css_flask/Lab5_Burrito Order Form/index.html @@ -0,0 +1,89 @@ + + + + + + + + HTML Forms + + + + + + + +
+
+

+ Burrito Order Form +

+
+
+
+
+ +
+ +
+ +
+
+ + +

Pick Your Tortilla:

+ + + + + + + + + + + + +

Pick Your Rice:

+ + + + + + +

Pick Your Protein:

+ + + + + + + + + + + + +

Additional Ingredients:

+ + + + + + + + +
+
+

Delivery Instructions

+ +
+
+ +
+
+
+ + + + \ No newline at end of file diff --git a/Code/daryll/html_css_flask/Lab5_Burrito Order Form/style.css b/Code/daryll/html_css_flask/Lab5_Burrito Order Form/style.css new file mode 100644 index 00000000..8c4b7644 --- /dev/null +++ b/Code/daryll/html_css_flask/Lab5_Burrito Order Form/style.css @@ -0,0 +1,17 @@ +header { + background-color: lightblue; + height: 150px; + text-align: center; + font-size: 45px; +} +h1 { + color: rgb(95, 71, 40); + font-family: 'Permanent Marker', cursive; + text-shadow: -1px -1px 0 yellow, 1px -1px 0 yellow, -1px 1px 0 yellow, 1px 1px 0 yellow, -2px 0 0 yellow, 2px 0 0 yellow, 0 2px 0 yellow, 0 -2px 0 yellow; + text-align: center; + padding: 4px; +} +main { + display: flex; + justify-content: space-around; +} \ No newline at end of file diff --git a/Code/daryll/html_css_flask/Lab6_pw_gen/app.py b/Code/daryll/html_css_flask/Lab6_pw_gen/app.py new file mode 100644 index 00000000..09763bd5 --- /dev/null +++ b/Code/daryll/html_css_flask/Lab6_pw_gen/app.py @@ -0,0 +1,34 @@ +from flask import Flask, render_template, request +import random +import string + +app = Flask(__name__) + +@app.route("/") +def index(): + return render_template("index.html") + +@app.route("/password", methods=["POST"]) +def password(): + result = request.form + upper = int(result["pwu"]) + lower = int(result["pwl"]) + numbers = int(result["pwn"]) + special = int(result["pws"]) + pw_length = upper + lower + numbers + special + random_pw = [] + while len(random_pw) < pw_length: + for x in range(upper): + random_pw.append(random.choice(string.ascii_uppercase)) + for x in range(lower): + random_pw.append(random.choice(string.ascii_lowercase)) + for x in range(numbers): + random_pw.append(random.choice(string.digits)) + for x in range(special): + random_pw.append(random.choice(string.punctuation)) + random.shuffle(random_pw) + + return render_template("password.html", random_pw=random_pw) + + + diff --git a/Code/daryll/html_css_flask/Lab6_pw_gen/static/style.css b/Code/daryll/html_css_flask/Lab6_pw_gen/static/style.css new file mode 100644 index 00000000..70b6e58d --- /dev/null +++ b/Code/daryll/html_css_flask/Lab6_pw_gen/static/style.css @@ -0,0 +1,3 @@ +body { + text-align: center; +} \ No newline at end of file diff --git a/Code/daryll/html_css_flask/Lab6_pw_gen/templates/index.html b/Code/daryll/html_css_flask/Lab6_pw_gen/templates/index.html new file mode 100644 index 00000000..d5cc4bca --- /dev/null +++ b/Code/daryll/html_css_flask/Lab6_pw_gen/templates/index.html @@ -0,0 +1,29 @@ + + + + + + + Password Generator + + + +

Random Password Generator

+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ + \ No newline at end of file diff --git a/Code/daryll/html_css_flask/Lab6_pw_gen/templates/password.html b/Code/daryll/html_css_flask/Lab6_pw_gen/templates/password.html new file mode 100644 index 00000000..69b32f04 --- /dev/null +++ b/Code/daryll/html_css_flask/Lab6_pw_gen/templates/password.html @@ -0,0 +1,15 @@ + + + + + + + {{ ''.join(random_pw) }} + + + +

Your Password is:

+

{{ ''.join(random_pw) }}

+ Generate Another Password? + + \ No newline at end of file