Skip to content

Commit

Permalink
some small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bt3 committed Nov 5, 2014
1 parent 69d06e1 commit a220272
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Cryptography/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ $ python -c 'print "2f722f6e6574736563".decode("hex")'
```

- Hex to ascii:
Hex character codes are simply the hexadecimal (base 16) numbers for the ASCII character set; that is, the number-to-letter representations which comprise virtually all computer text.


```
$ xxd -r -p <<< 2f722f6e6574736563
Expand All @@ -184,6 +186,14 @@ $ xxd -r -p <<< 2f722f6e6574736563
'0b11110010101001010'
```

#### Octal
(or: a great way of obscurating a URL)

Example: http:https://017700000001 --> 127.0.0.1







Expand Down
56 changes: 55 additions & 1 deletion Web_Exploits/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,36 @@

## OS Command Injection

---

## SQLi

- Brute force password
- Timed SQLi
- Cookie force brute


---
## PHP Shells

- php primer
- xor
- exploits

----

## Scanners

- heartbleed


-----
## User ID
- cookie auth
- user id

----

## Other Resources

#### When we have a Website/IP Address:
Expand All @@ -39,14 +49,58 @@
- Inspect the DOM using the browser's developer tools to look for HTML comments (plain view-source won't work when the content is loaded through Ajax).


-----

## URLs

#### Octal

- Example: http:https://017700000001 --> 127.0.0.1

- For example 206.191.158.50:

((206 * 256 + 191) * 256 + 158 ) * 256 + 50 = 3468664370.

Now, there is a further step that can make this address even more obscure. You can add to this dword number, any multiple of the quantity 4294967296 (2564)


#### Great @

-Everything between "http:https://" and "@" is completely irrelevant

#### Tools
```
http:https://doesn'[email protected]
http:https://!$^&*()_+`-={}|[]:;@www.google.com
```

- @ symbol can be represented by its hex code %40
- dots are %2e



----

## HTTP

The first line of a request is modified to include protocol version information and it's followed by zero or more name:value pairs (headers):
- User-Agent: browser version information
- Host: URL hostanme
- Accept: supported MIME documents( such as text/plain or audio/MPEG)
- Accept-Language: supported language codes
- Referer: originating page for the request



-----
## Tools

- [Burp Suite]
- [FireBug] in Firefox





-----------------
[FireBug]: http:https://getfirebug.com/
[Burp Suite]: http:https://portswigger.net/burp/
Expand Down

0 comments on commit a220272

Please sign in to comment.