-rw-r--r-- | CrackURL.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/CrackURL.h b/CrackURL.h new file mode 100644 index 0000000..2223740 --- a/dev/null +++ b/CrackURL.h | |||
@@ -0,0 +1,34 @@ | |||
1 | #ifndef__CRACKURL_H | ||
2 | #define__CRACKURL_H | ||
3 | |||
4 | #include "shared-code/RegEx.h" | ||
5 | |||
6 | class CCrackURL{ | ||
7 | public: | ||
8 | static CString GetHostName(LPCTSTR url); | ||
9 | static CString InnermostURL(LPCTSTR url); | ||
10 | CString Build(); | ||
11 | BOOL Adjust(CCrackURL& srcURL); | ||
12 | CString m_pathPath; | ||
13 | CString m_pathFile; | ||
14 | CString m_pathAnchor; | ||
15 | CString m_pathQuery; | ||
16 | CString m_urlRest; | ||
17 | BOOL Adjust(LPCTSTR srcURL); | ||
18 | CRegEx m_reHTTPReq; | ||
19 | CRegEx m_reUPHP; | ||
20 | CString m_URLPath; | ||
21 | UINT m_nPort; | ||
22 | CString m_Port; | ||
23 | CString m_Host; | ||
24 | CString m_Password; | ||
25 | CString m_User; | ||
26 | void ParseUPHP(CString& rest); | ||
27 | CString m_Schema; | ||
28 | CString m_URL; | ||
29 | BOOL Crack(LPCTSTR url); | ||
30 | CCrackURL(); | ||
31 | CRegExm_reSchema; | ||
32 | }; | ||
33 | |||
34 | #endif// __CRACKURL_H | ||