Squid proxy detection and exploitation: service fingerprinting and internal port scanning through the proxy.
Service Detection
nmap -p3128 -sC -sV -Pn TARGET
Example
PORT STATE SERVICE VERSION3128/tcp open http-proxy Squid http proxy 4.14|_http-server-header: squid/4.14|_http-title: ERROR: The requested URL could not be retrieved