2015-03-25

Excluding URL of css, js, image files from live http header

Pranaam to all bhai ji _/\_

Today we will learn, how to avoid css, JPG, js and other unwanted link while using live http header.

when we use live http header during website pentesting, live http header floods with unwanted link of css,js,image files.
and due to this, live http header seems hooch pooch :P
so, lets resolve this shit 8-)

in live http header, under config tab, you will see "exclude URL with regexp"
default configuration will be like this  -->  '.jpg$|.ico$|.css$|.js$'


according to this configuration, any URL having  extension .jpg .ico .css .js will be ignored i.e live http header wont log any request/response URL which will have extension .jpg .ico .css .js

But, what if URL is like this
website.com/style/style.css?version=something
this URL has link .css extension but live http header wont ignore it and its because of regex rule (.css$)
here rule .css$ represent -->  any URL having extension .css only
$ is representing , there must be no symbol/alphabet/number after .css
so , to avoid URL like  .css?version=something  , just remove $ symbol from regex and done :)
means , regex rules should be like this
.gif|.jpg|.ico|.css|.js


now enjoy :D
done
if you want to avoid any website link which should not be log by live http header just simply add that domain name in this pattern
domain\.domain extension
like, if you dont want to log URL having facebook.com in it, just add
facebook\.com
and regex will be like this
.gif|.jpg|.ico|.css|.js|facebook\.com

and done >:D<


-==[[Love to]]==--
zero Cool ,code breaker ica, root_devil, google_warrior,INX_r0ot,Darkwolf indishell,Baba ,Silent poison India,Magnum sniper,Atul Dwivedi,ethicalnoob Indishell,Local root indishell,Irfninja indishell,Reborn India,L0rd Crus4d3r,AR AR,Hackuin,Mannu, ViKi, Hardeep singh, Bhuppi,Mohit, Ffe,  RR Mam, Jagriti, DON and bikash dash
Share this post

0 comments

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

© 2009 Start With Linux | Mannu Linux
Designed by cyb3r.gladiat0r
Posts RSSComments RSS
Back to top