Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- 1.if ($_REQUEST["conf"] == 2)
- 2. {
- ?>
- <?
- <form method="POST" name="lizer" action="modsinstall.php?lizer">
- <input type="image" src="myimage.gif" border="0" align="center" />
- </form>
- ?>
- <?php
- 4. if(isset($_GET["lizer"]))
- 5. {
- 6. $connection = ssh2_connect($my3, $my4);
- 7. ssh2_auth_password($connection, $my1, $my2);
- 8. ssh2_exec($connection, $cmd1);
- 9. if($type == "Counter-Strike")
- 10. {
- 11. ssh2_exec($connection, 'cp -r /home/files/beckup/mods/lizer/cstrike ' . $my5 . '/cstrike');
- 12. ssh2_exec($connection, 'cd ' . $my5 . '/cstrike/addons/amxmodx/configs' && 'echo "lasermine.amxx" >> plugins.ini');
- 13. }
- 14. elseif($type == "CS:CZ")
- 15. {
- 16. ssh2_exec($connection, 'cp -r /home/files/beckup/mods/lizer/czero ' . $my5 . '/czero');
- 17. ssh2_exec($connection, 'cd ' . $my5 . '/czero/addons/amxmodx/configs' && 'echo "lasermine.amxx" >> plugins.ini');
- 18. }
- 19. echo "asds";
- 20. }
- 21. }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement