Differences
This shows you the differences between the selected revisions of the page.
2014-11-21 | 2014-12-21 | ||
errors anchor (martin) | Abdul202 (41.129.129.146) | ||
Line 73: | Line 73: | ||
<code>echo 'http://www.example.com'`pwd`'!' | sed s#home/lgtngstk/public_html#~user#</code> | <code>echo 'http://www.example.com'`pwd`'!' | sed s#home/lgtngstk/public_html#~user#</code> | ||
+ | if none of the above didn't work for you you can try this one | ||
+ | <code>echo '<?="http://www.". str_replace(array("\u", "\w", "@", " []#"), "", "'`echo $PS1`'"). | ||
+ | str_replace("/home/'`id -u -n`'/public_html", "", "'`pwd`'")."/!\n"?>' | php -q</code> | ||
+ | * Note that the above should be entered as one line! | ||
+ | * it gets the domain name automatically | ||
===== Templates ===== | ===== Templates ===== |