예제 #1
0
# FOOT="""
#     <!-- Submit (TYPE2_VALUE) <= (flag bytes - original bytes) -->
#     <submit><var>flag</var></submit>
FOOT = """

</replay>
</cfepov>
"""

import os
if __name__ == "__main__":
    POV_DIR = os.path.dirname(__file__)
    POV1_PATH = os.path.join(POV_DIR, 'POV_1c.povxml')
    POV2_PATH = os.path.join(POV_DIR, 'POV_1c.xml')

    tmpl1 = TemplatePoller()
    tmpl1.start()
    tmpl1.create_account()
    tmpl1.logout()
    # tmpl1.quit()

    xml_body1 = HEAD.split("\n")
    xml_body1 += tmpl1.xml().split("\n")[5:-2]

    # xml_body1 += WRITE_ORIG.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-9:-6]

    # xml_body1 += READ_ALTERED.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-6:-2]

    xml_body1 += FOOT.split("\n")
예제 #2
0
FOOT="""
    <!-- Submit (TYPE2_VALUE) <= (flag bytes - original bytes) -->
    <submit><var>flag</var></submit>

</replay>
</cfepov>
"""


import os
if __name__ == "__main__":
    POV_DIR=os.path.dirname(__file__)
    POV1_PATH=os.path.join(POV_DIR, 'POV_1c.povxml')
    POV2_PATH=os.path.join(POV_DIR, 'POV_1c.xml')

    tmpl1 = TemplatePoller()
    tmpl1.start()
    tmpl1.serialized_pov()
    # tmpl1.quit()

    xml_body1  = HEAD.split("\n")
    xml_body1 += tmpl1.xml().split("\n")[5:-2]

    # xml_body1 += WRITE_ORIG.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-9:-6]

    # xml_body1 += READ_ALTERED.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-6:-2]

    xml_body1 += FOOT.split("\n")
    combined_xml1 = "\n".join(xml_body1)
예제 #3
0
FOOT = """
    <!-- Submit (TYPE2_VALUE) <= (flag bytes - original bytes) -->
    <submit><var>flag</var></submit>

</replay>
</cfepov>
"""

import os
if __name__ == "__main__":
    POV_DIR = os.path.dirname(__file__)
    POV1_PATH = os.path.join(POV_DIR, 'POV_1c.povxml')
    POV2_PATH = os.path.join(POV_DIR, 'POV_1c.xml')

    tmpl1 = TemplatePoller()
    tmpl1.pov()

    xml_body1 = HEAD.split("\n")
    xml_body1 += tmpl1.xml().split("\n")[5:-2]

    # xml_body1 += WRITE_ORIG.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-9:-6]

    # xml_body1 += READ_ALTERED.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-6:-2]

    xml_body1 += FOOT.split("\n")
    combined_xml1 = "\n".join(xml_body1)

    # if not os.path.exists(POV_DIR):
예제 #4
0
#     <!-- Submit (TYPE2_VALUE) <= (flag bytes - original bytes) -->
#     <submit><var>flag</var></submit>
FOOT="""

</replay>
</cfepov>
"""


import os
if __name__ == "__main__":
    POV_DIR=os.path.dirname(__file__)
    POV1_PATH=os.path.join(POV_DIR, 'POV_2c.povxml')
    POV2_PATH=os.path.join(POV_DIR, 'POV_2c.xml')

    tmpl1 = TemplatePoller()
    tmpl1.start()
    tmpl1.pov2()
    # tmpl1.quit()

    xml_body1  = HEAD.split("\n")
    xml_body1 += tmpl1.xml().split("\n")[5:-2]

    # xml_body1 += WRITE_ORIG.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-9:-6]

    # xml_body1 += READ_ALTERED.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-6:-2]

    xml_body1 += FOOT.split("\n")
    combined_xml1 = "\n".join(xml_body1)
예제 #5
0
#     <!-- Submit (TYPE2_VALUE) <= (flag bytes - original bytes) -->
#     <submit><var>flag</var></submit>
FOOT="""

</replay>
</cfepov>
"""


import os
if __name__ == "__main__":
    POV_DIR=os.path.dirname(__file__)
    POV1_PATH=os.path.join(POV_DIR, 'POV_1c.povxml')
    POV2_PATH=os.path.join(POV_DIR, 'POV_1c.xml')

    tmpl1 = TemplatePoller()
    tmpl1.start()
    tmpl1.create_account()
    tmpl1.logout()
    # tmpl1.quit()

    xml_body1  = HEAD.split("\n")
    xml_body1 += tmpl1.xml().split("\n")[5:-2]

    # xml_body1 += WRITE_ORIG.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-9:-6]

    # xml_body1 += READ_ALTERED.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-6:-2]

    xml_body1 += FOOT.split("\n")
예제 #6
0
FOOT = """
    <!-- Submit (TYPE2_VALUE) <= (flag bytes - original bytes) -->
    <submit><var>flag</var></submit>

</replay>
</cfepov>
"""

import os
if __name__ == "__main__":
    POV_DIR = os.path.dirname(__file__)
    POV1_PATH = os.path.join(POV_DIR, 'POV_1c.povxml')
    POV2_PATH = os.path.join(POV_DIR, 'POV_1c.xml')

    tmpl1 = TemplatePoller()
    tmpl1.start()
    tmpl1.serialized_pov()
    # tmpl1.quit()

    xml_body1 = HEAD.split("\n")
    xml_body1 += tmpl1.xml().split("\n")[5:-2]

    # xml_body1 += WRITE_ORIG.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-9:-6]

    # xml_body1 += READ_ALTERED.split("\n")
    # xml_body1 += tmpl1.xml().split("\n")[-6:-2]

    xml_body1 += FOOT.split("\n")
    combined_xml1 = "\n".join(xml_body1)