sam-grierson / group-project Goto Github PK
View Code? Open in Web Editor NEWRepository for group 64 penetration testing scenario project
Repository for group 64 penetration testing scenario project
we need to add a checkout, this could probably also just be nice looking html since the degree we're actually gonna hook it up (obvs we're not taking payments)
I'm assuming this is a Email/Contact page? if so it could just be static html and should be easy to do
the primary key in the users table is not configured as a primary key.
every user has the same id
With the updated nav bar should we just remove the old login and registration pages? Also I was thinking we could group login and registration under the little person icon on the right of the nav bar and use a dropdown with links to them and maybe a user profile page where they can change their details?
We need to add product search functionality to the website, this will probably entail accessing the database, returning the results and converting them into a human readable form.
The basic idea I had for this was just a page that shows the users current information (payment and delivery info etc) and allows them to change it. It also shows them any current orders they have placed as due to be dispatched (since we arent actually dispatching any real orders).
not quite sure whats causing this, had a slight glance but couldnt suss it. potentially a type missmatch between sqlite floats and js floats
This is probably one of the larger ones right now, it'll take some decent front-end work, back-end db interfacing for products and/or users. should this be exploitable or is it over complicating it?
Totally lost on this one. After an item is removed from the cart the items in the session are re-rendered into the cart but they seem to lose their path to the image, every other value seems to be correct on the page render as far as I can tell.
So when I tried to login with invalid login details, an error occurred which I couldnt solve it. As well as, if I tried to register with the same username an error occur.
We need to have local css? if someone could elaborate on what this entails?
Theres a persitant problem with the renders where on the error handling it doesnt like re-rendering some of the pages and it cause the images to not show properly. It throws an error to the console but the website still functions correctly as far as I can see.
This is the error message im getting:
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at ServerResponse.setHeader (_http_outgoing.js:485:11)
at ServerResponse.header (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\response.js:771:10) at ServerResponse.setHeader (_http_outgoing.js:485:11)
at ServerResponse.header (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\response.js:771:10)
at done (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\response.js:1008:10)
at tryHandleCache (F:\Uni\group-proj\research\Group-Project\node_modules\ejs\lib\ejs.js:260:5)
at View.exports.renderFile [as engine] (F:\Uni\group-proj\research\Group-Project\node_modules\ejs\lib\ejs.js:459:10)
at View.render (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\view.js:135:8)
at tryRender (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\application.js:640:10)
at Function.render (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\application.js:592:3)
at ServerResponse.render (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\response.js:1012:7)
So to make the user profile page work the way I intended means that users who have made a full checkout while logged in need to have their order stored somewhere in the database. Something along the lines of: orders(username, name, email, phoneNo, address ,cardName, cardNo, expMon, expYr).
Some things to add to the page:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.