Last post Dec 16, 2014 12:59 PM by PatriceSc
Dec 15, 2014 04:24 AM|kareemva|LINK
Is there a way to show activities that send/receive from IE/Firefox by using C#/VB/VBScript?
Dec 15, 2014 04:40 AM|PatriceSc|LINK
IIS allows to log http requests
http://technet.microsoft.com/en-us/library/cc754631(v=WS.10).aspx if this is what you meant with "activities". Else try to give some more context or explain your final goal.
Dec 15, 2014 11:59 AM|kareemva|LINK
I want to monitor HTTP/HTTPS traffic with C#
Dec 15, 2014 12:09 PM|AidyF|LINK
asp.net isn't a suitable technology to do this, you need a windows service or a desktop app. asp.net code only runs while the page is being rendered, it is no good for tasks like monitoring traffic.
Dec 15, 2014 12:15 PM|PatriceSc|LINK
Please be explicit, "monitor" is quite vague. Also it's a bit unclear if you meant implicitly that the IIS log doesn't fit your needs (and more importantly why it doesn't fit your needs). You can also log custom information:
If you want to prevent DoS attack you have modules you can add to IIS to do that...
Or if you want a firewall or proxy, you have software doing that...
For now it doesn't seems something that requires doing that yourself and you likely have tools doing that already (but we have first to understand what is exactly the *final* goal, "monitoring" is not a goal but a way to reach some goal).
Edit: Ah or as pointed by someone else do you meant that you want to "monitor" the client side traffic for example using
http://www.telerik.com/fiddler or whatever? Then you should post to a Windows forum and once again depending on what you want maybe configure browsers in your company so they are all going through a proxy of some
kind (if you want to prevent users to access forbidden sites or whatever...)
Dec 16, 2014 05:21 AM|kareemva|LINK
I got Tamper Data for Firefox browser which gives me parameters that pass through a website. This helped me, because I have an account on STC site that gives me 25 free SMS weekly; but I want to make a page on my site to send these SMSs.
Until now I cannot solve this problem,,,
This link is good but!!!!!
C# - Log in to Website Programmatically How to log in to a website with code
Dec 16, 2014 12:59 PM|PatriceSc|LINK
Ah this is the kind of "monitoring" you were talking about previously?
You would have to check the page and see which fields it have to make an HTTP request etc... By actually it seems that this site doesn't fit your needs. Usually this kind of site does provide a simple API to do this kind of things without having to "hack"
You double checked then don't have a developper or API section? If they don't provide this it is harder (need to reverse engineer what to do), error prone (ie could break if the site is updated) and perhaps not a fair use (ie unwanted from the site owner
else they would provide an API). For this last reason alone, I never automate a web site.