';
}
if (screen.width > 800){
content=' | |  |  | ';
}
document.write(content);
|
|
Scanning Local Files for Bad Lines of Code

November 17th, 2009, 03:25 PM
|
 |
Analytics Dude
|
|
Join Date: January 18th, 2005
Location: Rochester, NY
Posts: 5,270
|
|
Scanning Local Files for Bad Lines of Code
Had to download a website today that was a victim of an injection attack. So I have file copies local.
Is there a utility that let's you search web files (aspx, .js, etc) for terms on a local machine?
We closed the back door that caused the problem, and we BELIEVE we've eliminated the bad lines of code (apparently only injected on the home page). I just want to double check all files.
|

November 17th, 2009, 03:29 PM
|
 |
ABW Resident Pessimist
|
|
Join Date: May 8th, 2007
Posts: 1,941
|
|
Being a unix guy by trade, I found and use the Windows Grep tool when working on windows based machines.
You can search for a string in a single file, all files in a folder, etc.
http://www.wingrep.com/download.htm
__________________
"The Best Vitamin For a Christian is B1"
|

November 17th, 2009, 03:31 PM
|
 |
Analytics Dude
|
|
Join Date: January 18th, 2005
Location: Rochester, NY
Posts: 5,270
|
|
Thanks Seymour. Was looking at that one.
|

November 17th, 2009, 04:04 PM
|
 |
Analytics Dude
|
|
Join Date: January 18th, 2005
Location: Rochester, NY
Posts: 5,270
|
|
Thumbs up. Perfect app. Found some hidden nastiness.....
|
|
| Tools |
Search |
|
|
|
| Display |
Linear Mode
|
|
|
Posting Rules
|
You may not post new threads,
You may not post replies,
You may not post attachments,
You may not edit your posts
|
|
| |