mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
marker.xml now picks up <hint> tags. edited a couple of the <hints>
This commit is contained in:
@@ -98,6 +98,13 @@ class XmlMarkerGenerator
|
||||
add_hint("The flag has been encoded using a standard encoding method, look for an unusual string of text and try to figure out how it was encoded, and decode it", "#{search_module.unique_id}stringencoder", "normal", xml)
|
||||
end
|
||||
add_hint("The flag is encoded using a #{search_module.attributes['name'].first}", "#{search_module.unique_id}name", "big_hint", xml)
|
||||
if search_module.attributes['hint']
|
||||
add_hint(search_module.attributes['hint'].first, "#{search_module.unique_id}hint", "big_hint", xml)
|
||||
end
|
||||
when "generator"
|
||||
if search_module.attributes['hint']
|
||||
add_hint(search_module.attributes['hint'].first, "#{search_module.unique_id}hint", "big_hint", xml)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
|
||||
<reference>https://gist.github.com/mikedamage/105081</reference>
|
||||
|
||||
<hint>Morse code decoders are available online e.g. https://morsecode.scphillips.com/translator.html
|
||||
Morse code has a single representation for parenthesis, the SecGen flag format uses curly braces. Replace them!
|
||||
</hint>
|
||||
<hint>Morse code decoders are available online e.g. https://morsecode.scphillips.com/translator.html</hint>
|
||||
|
||||
<read_fact>strings_to_encode</read_fact>
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<platform>linux</platform>
|
||||
<platform>windows</platform>
|
||||
|
||||
<hint>A simple transform using Base64. Decoding tools available online e.g. https://www.base64decode.org/</hint>
|
||||
<hint>Decoding tools available online e.g. https://www.base64decode.org/</hint>
|
||||
|
||||
<read_fact>strings_to_encode</read_fact>
|
||||
<read_fact>base64_options</read_fact>
|
||||
|
||||
@@ -79,11 +79,7 @@
|
||||
<value>Challenge 5</value>
|
||||
</input>
|
||||
<input into="paragraphs" unique_module_list="unique_encoders">
|
||||
<generator type="ctf_challenge">
|
||||
<input into="strings_to_encode">
|
||||
<generator type="flag_generator" />
|
||||
</input>
|
||||
</generator>
|
||||
<generator type="ctf_challenge" />
|
||||
</input>
|
||||
</generator>
|
||||
|
||||
@@ -92,11 +88,7 @@
|
||||
<value>Challenge 6</value>
|
||||
</input>
|
||||
<input into="paragraphs" unique_module_list="unique_encoders">
|
||||
<generator type="ctf_challenge">
|
||||
<input into="strings_to_encode">
|
||||
<generator type="flag_generator" />
|
||||
</input>
|
||||
</generator>
|
||||
<generator type="ctf_challenge"/>
|
||||
</input>
|
||||
</generator>
|
||||
</input>
|
||||
@@ -104,23 +96,15 @@
|
||||
<input into="hidden_tabs" unique_module_list="unique_encoders">
|
||||
<generator type="flag_generator" />
|
||||
<encoder type="ascii_reversible">
|
||||
<input into="strings_to_encode" unique_module_list="unique_encoders">
|
||||
<input into="strings_to_encode" >
|
||||
<generator type="flag_generator" />
|
||||
</input>
|
||||
</encoder>
|
||||
</input>
|
||||
|
||||
<input into="images_to_leak" unique_module_list="unique_encoders">
|
||||
<generator type="image_challenge_generator">
|
||||
<input into="strings_to_encode">
|
||||
<generator type="flag_generator" />
|
||||
</input>
|
||||
</generator>
|
||||
<generator type="image_challenge_generator" >
|
||||
<input into="strings_to_encode">
|
||||
<generator type="flag_generator" />
|
||||
</input>
|
||||
</generator>
|
||||
<generator type="image_challenge_generator" />
|
||||
<generator type="image_challenge_generator" />
|
||||
</input>
|
||||
</service>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user