Skip to Main Content
Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
book

Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals

by James C Foster
April 2005
Intermediate to advanced content levelIntermediate to advanced
700 pages
20h 39m
English
Syngress
Content preview from Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
178 }
179
180
break;
181 }
182 else
183 {
184 tmp += '\\';
185 }
186 }
187
188
tmp += ch;
189 st = VDBE_INTOK;
190 ++idx;
191
192
break;
193
194
case VDBE_NXTTOK:
195
196
++idx;
197
198
if(ch == ',')
199 {
200 st = VDBE_BEGTOK;
201 }
202
203
break;
204 }
205 }
206
207
printf("\r\n*** FAILED TO PARSE: %s\r\n\r\n”, entry);
208
209
return(false);
210 }
211
212
/*
213 * GetType()
214 *
215 *
216 */
217 string VulnDBEntry::GetType()
218 {
219 return(m_str[VDBE_FIELD_TYPE]);
220 }
221
222
/*
223 * GetPath()
224 *
225 *
226 */
227 string VulnDBEntry::GetPath()
228 {
229 return(m_str[VDBE_FIELD_PATH]);
230 }
231
232
/*
233 * GetResult()
234 *
Creating a Web Security Tool • Chapter 14 613
327_SSPC_14.qxd 2/25/05 3:52 PM Page 613
235 *
236 */
237 string VulnDBEntry::GetResult()
238 {
239 return(m_str[VDBE_FIELD_RES ]);
240 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

32/64-Bit 80x86 Assembly Language Architecture

32/64-Bit 80x86 Assembly Language Architecture

James Leiterman

Publisher Resources

ISBN: 9781597490054