Web Application Attacks Flashcards

1
Q

What is OWASP Top 10?

A

The OWASP Top 10 is a standard awareness document for developers and web application security. It represents a broad consensus about the most critical security risks to web applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which information should you gather from Web Application?

A
  • Programming language and frameworks
  • Web server software
  • Database software
  • Server operating system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Special characters for HTML and JavaScript?

A

< > ‘ “ { } ;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Cross-site scripting (XSS)?

A

Cross-site scripting (XSS) is a type of security vulnerability that can be found in some web applications. XSS attacks enable attackers to inject client-side scripts into web pages viewed by other users. A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same-origin policy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the Document Object Model (DOM)?

A

The Document Object Model (DOM) is a cross-platform and language-independent interface that treats an XML or HTML document as a tree structure wherein each node is an object representing a part of the document. The DOM represents a document with a logical tree. Each branch of the tree ends in a node, and each node contains objects. DOM methods allow programmatic access to the tree; with them one can change the structure, style or content of a document. Nodes can have event handlers attached to them. Once an event is triggered, the event handlers get executed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is HTML element?

A

An HTML element is a type of HTML (HyperText Markup Language) document component, one of several types of HTML nodes (there are also text nodes, comment nodes and others).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the script element?

A

The HTML element is used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The element can also be used with other languages, such as WebGL’s GLSL shader programming language and JSON.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is htmlspecialchars?

A

htmlspecialchars — Convert special characters to HTML entities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is iframe?

A

The HTML element represents a nested browsing context, embedding another HTML page into the current one.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is HTTP cookie?

A

HTTP cookies (also called web cookies, Internet cookies, browser cookies, or simply cookies) are small blocks of data created by a web server while a user is browsing a website and placed on the user’s computer or other device by the user’s web browser. Cookies are placed on the device used to access a website, and more than one cookie may be placed on a user’s device during a session.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Secure cookie?

A

Secure cookies are a type of HTTP cookie that have Secure attribute set, which limits the scope of the cookie to “secure” channels (where “secure” is defined by the user agent, typically web browser).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How to run the PS1 script?

A

C:\Users\admin\Documents> powershell -ExecutionPolicy Bypass -File admin_login.ps1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How to use netcat to receive a cookie?

A

kali@kali:~$ sudo nc -nvlp 80

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Cookie-Editor?

A

Cookie-Editor lets you efficiently create, edit and delete a cookie for the current tab. Perfect for developing, quickly testing or even manually managing your cookies for your privacy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly