1: μάγος
(Strong's #3097 — Noun Masculine — magos — mag'-os )

(a) "one of a median caste, a magician:" see WISE; (b) "a wizard, sorcerer, a pretender to magic powers, a professor of the arts of witchcraft," Acts 13:6,8 , where Bar-Jesus was the Jewish name, Elymas, an Arabic word meaning "wise." Hence the name Magus, "the magician," originally applied to Persian priests. In the Sept., only in Daniel 2:2,10 , of the "enchanters," RV (AV, "astrologers"), of Babylon. The superior Greek version of Daniel by Theodotion has it also at 1:20; 2:27; 4:7; 5:7,11,15.

2: φάρμακος
(Strong's #5333 — Adjective — pharmakos — far-mak-os' )

an adjective signifying "devoted to magical arts," is used as a noun, "a sorcerer," especially one who uses drugs, potions, spells, enchantments, Revelation 21:8 , in the best texts (some have pharmakeus), and Revelation 22:15 .