Two brothers were shot early Tuesday morning during a drive-by shooting in Harnett County, according to the sheriff's office.