index hacktool

Solutions on MaxInterview for index hacktool by the best coders in the world

showing results for - "index hacktool"
Murray
03 Jan 2020
1<?xml version="1.0" encoding="UTF-8"?>
2    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3        <url>
4            <loc>hxxp://localhost/shun-tea.php?6jxwa9sf.html</loc>
5            <lastmod>2020-06-01</lastmod>
6            <changefreq>daily</changefreq>
7            <priority>0.8</priority>
8        </url>
9        <url>
10            <loc>hxxp://localhost/shun-tea.php?8egbvh6e.html</loc>
11            <lastmod>2020-06-01</lastmod>
12            <changefreq>daily</changefreq>
13            <priority>0.8</priority>
14        </url>
15        <url>
16            <loc>hxxp://localhost/shun-tea.php?bdhxzfdh.html</loc>
17            <lastmod>2020-06-01</lastmod>
18            <changefreq>daily</changefreq>
19            <priority>0.8</priority>
20        </url>
21        
22...
23
Jessica
14 Jan 2019
1...
2$request_url = isset($_GET['url']) ? $_GET['url'] : '';
3if (!empty($request_url))
4{
5    $sx_content .= "\n\t\t" . '<url>';
6    $sx_content .= "\n\t\t\t" . '<loc>http://' . $_SERVER['SERVER_NAME'] . $url . '?' . $request_url . '</loc>';
7    $sx_content .= "\n\t\t\t" . '<lastmod>' . date('Y-m-d') . '</lastmod>';
8    $sx_content .= "\n\t\t\t" . '<changefreq>daily</changefreq>';
9    $sx_content .= "\n\t\t\t" . '<priority>0.8</priority>';
10    $sx_content .= "\n\t\t</url>";
11
12}
13else
14{
15    for ($j = 0;$j < 5000;$j++)
16    {
17        $str1 = random(8);
18        $sx_content .= "\n\t\t" . '<url>';
19        $sx_content .= "\n\t\t\t" . '<loc>http://' . $_SERVER['SERVER_NAME'] . $url . '?' . $str1 . ".html" . '</loc>';
20        $sx_content .= "\n\t\t\t" . '<lastmod>' . date('Y-m-d') . '</lastmod>';
21        $sx_content .= "\n\t\t\t" . '<changefreq>daily</changefreq>';
22        $sx_content .= "\n\t\t\t" . '<priority>0.8</priority>';
23        $sx_content .= "\n\t\t</url>";
24    }
25}
26$sx_content .= "\n\t</urlset>";
27
28$xr = fopen('sitemap_tea.xml', "w");
29$xrr = fwrite($xr, $sx_content);
30
similar questions
javascript hack
queries leading to this page
index hacktoolindex hacktool