Alcohol is alcohol. The alcohol in moonshine is the same as that of beer, wine, gin, etc. Pick your poison, and it’s the same alcohol. It is called ethyl alcohol, or ethanol, and it’ll get you drunk–some faster, some slower. The fact that liquor tends to contain higher concentrations of ethanol than beer, just means that the same volume of different alcoholic beverages will get you more/less drunk.