MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / do_input

Method do_input

thirdparty/clientform/clientform.py:732–743  ·  view source on GitHub ↗
(self, attrs)

Source from the content-addressed store, hash-verified

730 controls.append((type, name, d))
731
732 def do_input(self, attrs):
733 debug("%s", attrs)
734 d = {}
735 d["type"] = "text" # default
736 for key, val in attrs:
737 d[key] = self.unescape_attr_if_required(val)
738 controls = self._current_form[2]
739
740 type = d["type"]
741 name = d.get("name")
742 self._add_label(d)
743 controls.append((type, name, d))
744
745 def do_isindex(self, attrs):
746 debug("%s", attrs)

Callers

nothing calls this directly

Calls 5

_add_labelMethod · 0.95
debugFunction · 0.70
getMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected