From 5305ddd8332ebd905ebef3b8365fc0d736858a7a Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Mon, 05 Jul 2004 01:53:09 +0000 Subject: initial commit into svn repository git-svn-id: http://svn.klever.net/kin/dipstick/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8 --- (limited to 'CrackURL.h') 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 @@ +#ifndef __CRACKURL_H +#define __CRACKURL_H + +#include "shared-code/RegEx.h" + +class CCrackURL { +public: + static CString GetHostName(LPCTSTR url); + static CString InnermostURL(LPCTSTR url); + CString Build(); + BOOL Adjust(CCrackURL& srcURL); + CString m_pathPath; + CString m_pathFile; + CString m_pathAnchor; + CString m_pathQuery; + CString m_urlRest; + BOOL Adjust(LPCTSTR srcURL); + CRegEx m_reHTTPReq; + CRegEx m_reUPHP; + CString m_URLPath; + UINT m_nPort; + CString m_Port; + CString m_Host; + CString m_Password; + CString m_User; + void ParseUPHP(CString& rest); + CString m_Schema; + CString m_URL; + BOOL Crack(LPCTSTR url); + CCrackURL(); + CRegEx m_reSchema; +}; + +#endif // __CRACKURL_H -- cgit v0.9.0.2