12.07.2015 Views

Devices - Penetration Testing Like a Hacker. - SecNiche Security Labs

Devices - Penetration Testing Like a Hacker. - SecNiche Security Labs

Devices - Penetration Testing Like a Hacker. - SecNiche Security Labs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 8. User Agent Switcher Menuremoved method, HTTP HEAD verb (retrieve whateverinformation in the form of an entity without returning amessage-body in the response), SECCOM verb, and acombination of session and HEAD/SECCOM. (Add-onLink: https://addons.mozilla.org/en-US/firefox/addon/access-me/).User AgentUser Agent: User agentis basically a clientside application likeweb browser or searchengine crawlers. Useragents strings store information like type of application,OS, and software version. This user agent string isdetected by websites for adjusting the page designlayout. Hence, user agent spoofing is done by webscrapers and spam bots for forcing certain server sidecontents to show up by hiding the browser’s identity. Forexample, Android browser uses HTML rendering engine– WebKit (KHTML) and so Android browser pretends tobe Safari.User Agent Switcher 0.7.3: This add-on by ChrisPederick helps change your browser’s user agent stringto Internet Explorer, Search Robots (Googlebot 2.1,Msnbot 1.1, and Yahoo Slup) or iPhone 3.0. To accessUser Agent Switcher go to Tools > Default User Agent.(Add-on Link: https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/).HackbarHackbar: Hackbar 1.6.1 is a simple but powerfulpenetration and security audit tool. Basically you put alink in the hackbar and then you have to select varioussuitable options from the drop down menu and thenFigure 10. Tamper Data Log Windowjust execute the edited URL. Hackbar is capable ofencrypting a text or link to its MD5, SHA-1, SHA-256or ROT13 hash format. Hackbar also has an encoderdecoderwhich can perform Base64/URL/HEX encodingand decoding. SQL and XSS options of this add-on willhelp you add statements into your URL, like for exampleclicking on Union Select Statement under SQL will givethe output: UNION SELECT 1,2,3,4,5,6,7,8,9,10. Theother amusing uses are viz., string reverse, insertion ofLorem Ipsum text, fibonacci series and more. (Add-onLink: https://addons.mozilla.org/en-US/firefox/addon/hackbar/).Tamper DataTamper Data 11.0.1: Tamper data can effectively beused for testing web based applications. This add-onwill allow you to intercept the HTTP(S) traffic betweenyour computer and the Internet. You can track andmodify HTTP(S) headers, POST and GET requestparameters. (Add-on Link: https://addons.mozilla.org/en-US/firefox/addon/tamper-data/).• Once you install Tamper Data, go to Tools >Tamper Data. This will open a log window. ClickStart Tamper from the top menu to start tamperingwith the HTTP(S) requests. The log will startshowing you all the subsequent requests after youstart tampering. To see details of a request youneed to select the item and double click it to seedetails of a request header.Figure 9. HackbarFigure 11. Tamper with request05/2011 (5) SeptemberPage 45http://pentestmag.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!