This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2016:unix:projects:udr2 [2016/03/21 15:19] – [Useful tools] wedge | haas:spring2016:unix:projects:udr2 [2016/03/24 17:40] (current) – [Errata] wedge | ||
---|---|---|---|
Line 11: | Line 11: | ||
Typos and bug fixes: | Typos and bug fixes: | ||
- | * < | + | * A bug was discovered in binhaxx/ |
=====Objective===== | =====Objective===== | ||
Continuing our "1337 haxxing" | Continuing our "1337 haxxing" | ||
Line 232: | Line 232: | ||
**NOTE:** Hopefully it has been standard practice to locate project files in their own unique subdirectory, | **NOTE:** Hopefully it has been standard practice to locate project files in their own unique subdirectory, | ||
+ | |||
+ | **NOTE:** You probably do not want to add/ | ||
=====Data Files===== | =====Data Files===== | ||
Line 281: | Line 283: | ||
... along with other tools previously encountered. | ... along with other tools previously encountered. | ||
- | ====bgrep==== | + | ====binhaxx search==== |
- | To assist you with this project, a special " | + | To assist you with this project, a special " |
- | It supports space-separated | + | It supports space-separated bytes of data, and even allows the use of ' |
===Example Usage=== | ===Example Usage=== | ||
Line 290: | Line 292: | ||
<cli> | <cli> | ||
- | $ cat session-201302200614.raw | bgrep '12 34' | + | $ cat session-201302200614.raw | search |
533b:12 34 | 533b:12 34 | ||
29af3:12 34 | 29af3:12 34 | ||
Line 308: | Line 310: | ||
<cli> | <cli> | ||
- | $ cat session-201302200614.raw | bgrep '12 .. 45' | + | $ cat session-201302200614.raw | search |
3326:12 e0 45 | 3326:12 e0 45 | ||
$ | $ | ||
Line 318: | Line 320: | ||
<cli> | <cli> | ||
- | $ cat session-201302200614.raw | bgrep '12 e.' | + | $ cat session-201302200614.raw | search |
1cf4:12 ee | 1cf4:12 ee | ||
206d:12 e0 | 206d:12 e0 | ||
Line 352: | Line 354: | ||
<cli> | <cli> | ||
- | $ cat session-201302200614.raw | bgrep '.c34' | + | $ cat session-201302200614.raw | search |
91c1:3c 34 | 91c1:3c 34 | ||
29029:8c 34 | 29029:8c 34 | ||
Line 362: | Line 364: | ||
$ | $ | ||
</ | </ | ||
- | |||
- | Notice in this last pattern, we opted not to space separate the pattern... it works either way (output will be space-separated regardless). | ||
This will hopefully prove to be a useful tool in your binary analysis endeavors. | This will hopefully prove to be a useful tool in your binary analysis endeavors. | ||
+ | |||
=====Submission===== | =====Submission===== | ||
Successful completion will result in the following criteria being met: | Successful completion will result in the following criteria being met: | ||
- | * When all is said and done, you will submit: | + | * When all is said and done, you will submit |
- | * **udr2.text**, | + | * **udr2.text**, |
+ | * an organized presentation of the answers/ | ||
+ | * **udr2.sh** | ||
+ | * a shell script containing all the necessary commands to accomplish the project | ||
+ | * be sure to adequately comment the script so I can see your thought process (particular | ||
+ | * the script should output important information related | ||
====Submit==== | ====Submit==== | ||
Please submit as follows: | Please submit as follows: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
Submitting unix project " | Submitting unix project " | ||
-> udr2.text(OK) | -> udr2.text(OK) | ||
+ | -> udr2.sh(OK) | ||
SUCCESSFULLY SUBMITTED | SUCCESSFULLY SUBMITTED | ||
lab46: | lab46: | ||
</ | </ | ||
+ |