Skip to content
Projetos

we1h0/web-sec-interview

Ver no GitHub

Sobre

Information Security (Web Security/Penetration Testing Direction) Interview Questions/Solutions 信息安全(Web安全/渗透测试方向)面试题/解题思路

Aprendizado e educação

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

web-sec-interview

Information Security Industry Practitioners (Web Security / Penetration Testing) Interview Questions 1.1

README English | 中文


  • Introduce the experience of burrowing (or CTF experience) that you think is interesting

  • What are the more vulnerabilities you usually use? The principle of related vulnerabilities? And a fix for the vulnerability?

  • What tools do you usually use and the characteristics of the corresponding tools?

  • How to do sql injection / upload Webshell if you encounter waf? Please write the process of bypassing WAF (SQLi, XSS, upload vulnerability)

    Refer to the following three

My Way of WafBypass (SQL Injection)
My Way of WafBypass (Upload)
My Way of WafBypass (Misc)

  • Talk about the idea of ​​lifting the rights of Windows system and Linux system?

  • List all high-risk vulnerabilities of open source components that you know (more than ten)

  • Describe a CVE or POC that you have studied in depth.

  • SQLi

    • How to judge sql injection, what are the methods?

    Add single quotes, double quotes, order by, rlike, sleep, benchmark, operator, modify data type, error injection statement test

    • Introduce the cause of SQL injection vulnerabilities, how to prevent it? What are the injection methods? In addition to database data, what are the ways to use it?

    • The principle of wide character injection? How to use the wide character injection vulnerability, how to construct and repair the payload?

    Popularly speaking, gbk, big5 and other codes account for two bytes. After the sql statement enters the backend, the single quotes are escaped. The escaped \ is %5C, and the current %xx and %5C can be combined into two. When the characters are in bytes, the subsequent single quotes can escape, resulting in injection. More common gbk, %df' => %df%5c%27 => 运'. Already single quotes, the rest is almost the same as normal injection. Fix the way by setting the MYSQL database character set utf8mb4, PHP character set utf-8.

    • You all know which sql pass skills

    This is too much, a lot of online search. Mainly depends on the filtering and protection of the target site. Common bypass can be /**/ replace spaces, /!00000union/ is equal to union, or use front-end filtering, add angle brackets <>. Cases are too common. If you filter functions or keywords, you can try other equivalent functions that can achieve results. Keywords such as or 1=1 can be replaced with ||1, or with operators such as /, %. The same effect. In short, still look at the requirements.

    • How does sqlmap inject an injection point?

    If it is get type, directly, sqlmap -u "injection point URL".

    If it is post type, you can sqlmap -u "injection point URL" -data="post parameter"

    If it is a cookie type, X-Forwarded-For, etc., when you can access it, use Burpsuite to capture the package, replace it with the * mark, put it in the file, and then sqlmap -r "file address"

    • mysql website injection, what is the difference between 5.0 and below?

    Below 5.0, there is no information_schema system table, can not list names, etc., can only violently run table names. 5.0 is multi-user single operation, 5.0 or more is multi-user and multi-operation.

    • mysql injection point, use the tool to write a sentence directly to the target station, what conditions are needed?

    root permissions and the absolute path to the site.

    • There is a sql injection vulnerability in the following link. What ideas do you have for this variant injection?

    demo.do?DATA=AjAxNg==

    • Found demo.jsp?uid=110 injection point, what kinds of ideas do you have to get webshell, which is the best?
  • Domain

    • Explain the same-origin policy

    If the protocol of the two pages, the port and the domain name are the same, it can be considered to be homologous.

    • The same-origin strategy, those things are acquired by homology

    read cookies, LocalStorage and IndexDB read DOM elements Send an AJAX request

    • If the subdomain and the top-level domain have different sources, where can I set them to be homologous?

    Probably the same subdomain, the main domain has different meanings, you can solve the cross-domain by setting document.domain in both rooms.

    • How to set up data that can be requested across domains? What does jsonp do?

    When the primary domain is the same, cross-domain, you can set document.domain as above.

    When the primary domain is different, you can set up CORS on the server to make cross-domain requests through jsonp and websocket. H5 added the window.postMessage method to resolve cross-domain requests.

    Request json data via

Explore projetos relacionados

Carregando…