bot not not bot
Category: Web
322 points
Ain’t Much, But It’s Honest Work!!! https://bot-not-not-bot.vishwactf.com/
Solution
Under given address there are 500 of links.
If the page under link has useful information, it has Useful Page
sentence, if not Useless Page
.
Crawling can be automated with some mix of bash
and curl
.
for i in {1..500}; do curl -s https://bot-not-not-bot.vishwactf.com/page${i}.html | grep "Useful Page"; done
<html><head><title> bot-not-not-bot8</title></head><body><h1>v</h1><p>Useful Page<br>0</p></body></html>
<html><head><title> bot-not-not-bot34</title></head><body><h1>w</h1><p>Useful Page<br>4</p></body></html>
<html><head><title> bot-not-not-bot38</title></head><body><h1>t</h1><p>Useful Page<br>19</p></body></html>
<html><head><title> bot-not-not-bot41</title></head><body><h1>F</h1><p>Useful Page<br>8</p></body></html>
<html><head><title> bot-not-not-bot47</title></head><body><h1>t</h1><p>Useful Page<br>14</p></body></html>
<html><head><title> bot-not-not-bot54</title></head><body><h1>0</h1><p>Useful Page<br>21</p></body></html>
<html><head><title> bot-not-not-bot76</title></head><body><h1>b</h1><p>Useful Page<br>12</p></body></html>
<html><head><title> bot-not-not-bot95</title></head><body><h1>P</h1><p>Useful Page<br>24</p></body></html>
<html><head><title> bot-not-not-bot102</title></head><body><h1>C</h1><p>Useful Page<br>6</p></body></html>
<html><head><title> bot-not-not-bot103</title></head><body><h1>a</h1><p>Useful Page<br>5</p></body></html>
<html><head><title> bot-not-not-bot133</title></head><body><h1>T</h1><p>Useful Page<br>7</p></body></html>
<html><head><title> bot-not-not-bot141</title></head><body><h1>_</h1><p>Useful Page<br>22</p></body></html>
<html><head><title> bot-not-not-bot150</title></head><body><h1>{</h1><p>Useful Page<br>9</p></body></html>
<html><head><title> bot-not-not-bot171</title></head><body><h1>h</h1><p>Useful Page<br>3</p></body></html>
<html><head><title> bot-not-not-bot173</title></head><body><h1>_</h1><p>Useful Page<br>18</p></body></html>
<html><head><title> bot-not-not-bot188</title></head><body><h1>o</h1><p>Useful Page<br>13</p></body></html>
<html><head><title> bot-not-not-bot234</title></head><body><h1>r</h1><p>Useful Page<br>10</p></body></html>
<html><head><title> bot-not-not-bot244</title></head><body><h1>i</h1><p>Useful Page<br>1</p></body></html>
<html><head><title> bot-not-not-bot362</title></head><body><h1>0</h1><p>Useful Page<br>11</p></body></html>
<html><head><title> bot-not-not-bot375</title></head><body><h1>0</h1><p>Useful Page<br>20</p></body></html>
<html><head><title> bot-not-not-bot413</title></head><body><h1>0</h1><p>Useful Page<br>23</p></body></html>
<html><head><title> bot-not-not-bot422</title></head><body><h1>s</h1><p>Useful Page<br>2</p></body></html>
<html><head><title> bot-not-not-bot432</title></head><body><h1>1</h1><p>Useful Page<br>16</p></body></html>
<html><head><title> bot-not-not-bot457</title></head><body><h1>_</h1><p>Useful Page<br>15</p></body></html>
<html><head><title> bot-not-not-bot474</title></head><body><h1>}</h1><p>Useful Page<br>25</p></body></html>
<html><head><title> bot-not-not-bot490</title></head><body><h1>5</h1><p>Useful Page<br>17</p></body></html>
Sorting the output gave the flag.
Flag
vishwaCTF{r0bot_15_t00_0P}