Essay 1

xiaoxiao2021-03-06  42

The CGI is manually executed in the shell to set the environment variable; if the CGI program is called by Apache, Apache will set the environment variable, just as the shell executes its process. The CGI program is running with the environment variable. CGI environment variable script_url = / smgic / boa:

Analyze Script_URL in the URL_PARSE () of BBSLIB.C, see if you know :) Analysis results In the struct cgi_applet application of bbsmain.c, find the corresponding call function name in the table.

SMAGIC's role is to let Apache are handed over to the WWW to process record information such as: http://your.domain/smagicxxxx's URL: ANSI C Language Manual Unicode Unified Code

Vim CTags: CTags General and VI Editor, CTAGS processes the source file into a new file (tags) that is regularly grammar, and then opens with VI, you can read it through the vi command: / /TEST.CINT Main () {// ....} CTags Test.cvi tags: Ta main // Positioning the main function.

AWK '/ ^ [0-9] / {Print $ 2}' /Home/bbs/nbstat.exe.stackdump | Addr2line -f -e /Home/bbs/bin/nbstat.exe, if you have a program, I illegally operate StackDUMP, you can use this to see which place is wrong, used to debug

转载请注明原文地址:https://www.9cbs.com/read-67048.html

New Post(0)