Mictuning 7way trailer cable with junction box 7pins plug 
I measured from the start of the plug to where it enters the junction box and appox 87” (inches long) cable 
The plug as a cap but I did not measure from the start of th3 cap but rather from the start of plug 
Note: in the picture I show where I start to measure using tape measure with the start of 7-pins plug and where
I end the measure on the junction box right outside where the cable goes into junction box (see pictures) 
Note: I did not open junction box, 2 screws holding it from opening . 

New no box 

Any questions message me here