<s> import os <EOL> from . pappy import session <EOL> def from_file ( fname , intro = False ) : <EOL> full_fname = os . path . join ( session . config . pappy_dir , '<STR_LIT>' , fname ) <EOL> with open ( full_fname , '<STR_LIT:r>' ) as f : <EOL> d = f . read ( ) <EOL> lines = d . splitlines ( ) <EOL> if intro : <EOL> while lines and lines [ <NUM_LIT:0> ] != '<STR_LIT>' : <EOL> lines = lines [ <NUM_LIT:1> : ] <EOL> for l in lines : <EOL> if l : <EOL> yield l <EOL> def fuzz_path_trav ( ) : <EOL> """<STR_LIT>""" <EOL> for l in from_file ( '<STR_LIT>' , True ) : <EOL> yield l <EOL> def fuzz_sqli ( ) : <EOL> """<STR_LIT>""" <EOL> for l in from_file ( '<STR_LIT>' ) : <EOL> yield l <EOL> def fuzz_xss ( ) : <EOL> """<STR_LIT>""" <EOL> for l in from_file ( '<STR_LIT>' ) : <EOL> yield l <EOL> def common_passwords ( ) : <EOL> """<STR_LIT>""" <EOL> for l in from_file ( '<STR_LIT>' ) : <EOL> yield l <EOL> def common_usernames ( ) : <EOL> """<STR_LIT>""" <EOL> for l in from_file ( '<STR_LIT>' ) : <EOL> yield l <EOL> def fuzz_dirs ( ) : <EOL> for l in from_file ( '<STR_LIT>' ) : <EOL> yield l </s>
