First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

What display filter can I use for http? I am looking for test string "content" within the Info.

What display filter can I use for http? I am looking for test string "content" within the Info.

The info field display the full URL with the hostname but I am looking specifically for a subdirectory /content.

Please help!

First time using this forum

asked 2018-10-04 16:38:43 +0000
This post is a wiki. Anyone with karma >750 is welcome to improve it.
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

This is a display filter:

http contains "content"

Replace content with whatever you are searching. For example:

http contains "cnn"

will display all the HTTP requests/responses with cnn

I think it is case sensitive so be careful what you place within the quotation marks. Hope this answers your question.

Amato_C's avatar
1.2k
Amato_C
answered 2018-10-04 18:01:22 +0000
grahamb's avatar
23.8k
grahamb
updated 2018-10-05 08:57:44 +0000
edit flag offensive 0 remove flag delete link

Comments

Answer above is helpful but there were few issues.

  • I used the suggested display filter http.host contains ".com" and it resulted with packets containing web hosts accessed using http protocol. But the URL were not visible in any column. Had to do few clicks to see each url/website

  • I had to specify ".com" to view the url/website which contained .com. If I wanted to view all the url in the pcap file, that wasn't possible by using http.host contains display filter

  • Moreover it didn't show any host/url which were accessed using https.

To view the URL, I had to expand Hypertext Transfer Protocol within Frame detail window by clicking > and then I was able to see the field Host: webpage.com . Same steps had to be taken for every other packets to see the URL accessed (URL were listed under > Hypertest ... (more)

Zaaf's avatar Zaaf (2019-03-21 15:18:12 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer