In any case, foreigners are rarely troubled, and are easily forgiven transgression of "islamic" laws on ground of ignorance. Violating the dress code, talking to woman in the street is no problem at all. Premarital sex is probably not ok, if you get caught. Stay away from demonstrations, you might be considered a journalist travelling on a tourist visa.
== Hitchhiking as a girl ==
'''Problem 1: not being able to hitchhike'''