Module FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword Call NameLoad keyword Str If AttributeLoad Call AttributeLoad NameLoad attr attr body Expr Call NameLoad Call NameLoad Str keyword Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Return Call NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad Call Call NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Num CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call NameLoad Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return Call NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad Import alias alias If CompareEq Call AttributeLoad NameLoad attr Num Str body Return BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq Call AttributeLoad NameLoad attr Num Str body Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd BinOpAdd SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Str AttributeLoad AttributeLoad NameLoad attr attr Str Return Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Str Expr Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad Str SubscriptLoad NameLoad Index Num Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore BinOpAdd BinOpAdd NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num Num Str orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign NameStore BinOpMod Str Call NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str Return NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body If CompareEq Call AttributeLoad NameLoad attr Num Str body Expr Call NameLoad Call NameLoad Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str Return NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad keyword Call NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body If Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore AttributeStore NameLoad attr NameStore TupleLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr While NameLoad body Assign TupleStore AttributeStore NameLoad attr NameStore TupleLoad BinOpAdd ListLoad Call NameLoad AttributeLoad NameLoad attr keyword Call NameLoad Str keyword NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad Call NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad attr keyword Call NameLoad Str keyword AttributeLoad NameLoad attr Return Call NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad Call NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad attr keyword Call NameLoad Str keyword AttributeLoad NameLoad attr Return Call NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Import alias Import alias Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr BoolOpOr Call AttributeLoad NameLoad attr Num Str If UnaryOpNot NameLoad body Raise Call NameLoad Num Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Print NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpMod Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list
N/A index N/A N/A N/A N/A N/A form N/A N/A SQLFORM factory N/A Field url requires N/A IS_URL default http://... N/A N/A N/A N/A form process accepted N/A N/A N/A redirect N/A URL edit vars N/A dict url N/A N/A form vars url N/A clones N/A N/A N/A db N/A db cms_clone select N/A N/A locals N/A N/A N/A auth requires_login delete N/A N/A N/A N/A N/A N/A N/A N/A N/A db N/A N/A N/A db cms_clone id N/A N/A request args 0 N/A N/A N/A db cms_clone created_by N/A N/A auth user id delete N/A N/A redirect N/A URL index N/A N/A N/A auth requires_login edit N/A N/A N/A N/A N/A N/A locals N/A N/A N/A auth requires_login edit_clone N/A N/A N/A N/A N/A N/A N/A session _unlock response N/A urllib re N/A N/A N/A N/A request args 0 post N/A N/A N/A N/A N/A request vars value N/A N/A N/A N/A N/A request args 0 store N/A N/A N/A session new_html N/A N/A N/A N/A N/A N/A N/A session html split <body N/A 0 <body> N/A N/A request vars html </body></html> N/A ok N/A url N/A N/A request vars url N/A N/A N/A html N/A N/A N/A N/A urllib urlopen url read N/A N/A N/A IOError N/A N/A N/A session flash web page does not exist! N/A N/A redirect N/A URL index N/A N/A N/A url rstrip / N/A N/A session url url N/A N/A a b N/A N/A url split :// N/A items N/A N/A b split / N/A base N/A N/A N/A a :// N/A items N/A 0 / N/A N/A N/A len items 2 N/A N/A full N/A N/A base N/A N/A / join N/A items N/A 1 -1 / N/A N/A full base N/A html N/A N/A re sub \s+[
] html N/A html N/A N/A re sub >[ 	]+< > < html N/A html N/A N/A re sub (src|SRC)\s*=\s*"/(?!/) N/A src=" base html N/A html N/A N/A re sub (src|SRC)\s*=\s*"(?!(/|http)) N/A src=" full html N/A html N/A N/A re sub (href|HREF)\s*=\s*"/(?!/) N/A href=" base html N/A html N/A N/A re sub (href|HREF)\s*=\s*"(?!(/|http)) N/A href=" full html N/A html N/A N/A re sub url\(/(?!/) N/A url( base html N/A html N/A N/A re sub url\((?!(/|http)) N/A url( full html N/A N/A session new_html N/A session html html N/A inject N/A <script src="%s" language="javascript"></script> N/A URL static js/inject.js N/A html N/A N/A html replace </head> N/A inject </head> N/A html N/A N/A N/A auth requires_login clone N/A N/A N/A N/A N/A id N/A N/A N/A db cms_clone insert url N/A session url html N/A session new_html N/A N/A redirect N/A URL page args id N/A N/A N/A auth requires_login page N/A N/A N/A N/A N/A N/A N/A N/A request args 0 clone N/A N/A N/A redirect N/A URL index N/A html N/A N/A N/A db cms_clone N/A N/A request args 0 html N/A inject <script language="javascript">alert("This is an altered copy of another page.
It was made as an experimental proof of concept.
If this page infringes a copyright, we will take it down.");</script> N/A html N/A N/A html replace </head> N/A inject </head> N/A html N/A user N/A N/A N/A N/A N/A N/A dict form N/A auth N/A folder N/A N/A N/A N/A N/A folder N/A N/A db cms_folder N/A N/A request args 0 created_by N/A N/A auth user id N/A N/A folder N/A N/A N/A N/A N/A db N/A db cms_folder isempty N/A N/A N/A N/A N/A db cms_folder insert name root parent_folder 0 created_by N/A N/A auth user id N/A folder N/A N/A db cms_folder parent_folder 0 created_by N/A N/A auth user id N/A N/A N/A folder path f N/A N/A N/A folder name N/A folder parent_folder N/A f N/A N/A N/A N/A folder path f N/A N/A N/A N/A A N/A f name _href N/A URL folder args f N/A folder path N/A f parent_folder N/A files N/A N/A N/A db N/A N/A N/A db cms_file folder N/A folder id select orderby N/A N/A db cms_file name N/A folders N/A N/A N/A db N/A N/A N/A db cms_folder parent_folder N/A folder id select orderby N/A N/A db cms_folder name N/A N/A locals N/A N/A N/A auth requires_login edit_file N/A N/A N/A N/A N/A folder N/A N/A db cms_folder N/A N/A request args 0 created_by N/A N/A auth user id N/A N/A N/A N/A db cms_file folder default N/A folder id N/A N/A N/A N/A db cms_file name requires N/A IS_NOT_IN_DB N/A db N/A N/A N/A db cms_file folder N/A folder id cms_file.name N/A file N/A N/A db cms_file N/A N/A request args 1 created_by N/A N/A auth user id N/A form N/A N/A N/A SQLFORM N/A db cms_file file deletable True process next N/A URL folder args N/A folder id N/A N/A locals N/A N/A N/A auth requires_login edit_folder N/A N/A N/A N/A N/A folder N/A N/A db cms_folder N/A N/A request args 0 created_by N/A N/A auth user id N/A N/A N/A N/A db cms_folder parent_folder default N/A folder id N/A N/A N/A N/A db cms_folder name requires N/A IS_NOT_IN_DB N/A db N/A N/A N/A db cms_folder parent_folder N/A folder id cms_folder.name N/A ofolder N/A N/A db cms_folder N/A N/A request args 1 created_by N/A N/A auth user id N/A form N/A N/A N/A SQLFORM N/A db cms_folder ofolder deletable True process next N/A URL folder args N/A folder id N/A N/A locals N/A N/A N/A auth requires_login doc N/A N/A N/A N/A N/A re N/A contenttype N/A items N/A N/A N/A N/A re compile (?P<id>.*?)\.(?P<ext>\w*) match N/A N/A N/A request args 0 N/A N/A items N/A N/A N/A HTTP 404 N/A N/A id ext N/A N/A N/A items group id N/A N/A items group ext N/A name N/A N/A N/A db cms_file id file N/A N/A filename stream N/A N/A N/A N/A db cms_file file retrieve name N/A filename N/A file N/A N/A db cms_file id N/A N/A N/A response headers N/A Content-Type N/A N/A contenttype contenttype name N/A N/A N/A response headers N/A Content-Disposition N/A attachment; filename=%s filename N/A N/A N/A response stream stream request request N/A