Green’s Dictionary of Slang

leg work n.

1. (orig. US) in terms of a job, a great deal of walking; also in fig. use as a huge amount of research.

[US]DN I 207: Reporters characterize a task in which there is more running than writing by the expressive compound leg-work [DA].
[US]E.S. Gardner ‘Bird in the Hand’ in Goulart (1967) 273: You leave the thinkin’ to me. You do the leg work.
[US]J. Evans Halo in Blood (1988) 42: Information that made locating the missing person mostly a matter of leg work.
[US]R. Prather Always Leave ’Em Dying 19: My search for Felicity would boil down to tedious legwork.
[US]L. Hansberry Sign in Sidney Brustein’s Window in Three Negro Plays (1969 I i: All I’m asking from you is a little legwork.
[UK]J. Sherwood Botanist at Bay 90: We could get all the leg-work done for us.
[UK]Indep. Rev. 25 June 6: He [...] by nifty legwork, revealed the full extent to which Greene was swindled.

2. intercourse between the thighs or the buttocks (without penetration of the anus).

[US]G. Legman ‘Lang. of Homosexuality’ Appendix VII in Henry Sex Variants.
[US]Guild Dict. Homosexual Terms 27: legwork (n.): Coitus of a man with a boy, either intercrural (between the legs) or intergluteal (between the buttocks). (Slang.).
[UK]Solar Project ‘Zeitgest’ 🎵 on ...in Time [album] Group grope, bunch punch / Gang bang, daisy chain / Leg work, Swedish culture, S & M / We are shagging like wild rattlesnakes / We bang like the shithouse door in a gale.