In other words, this site is pretty safe...
If your device is not jailbroken, you can use a free opensource software called DeTune.
This software will open a finder like window that let you extract your music from the iDevice.
If your device is jailbroken, you can sftp to it to extract the music.
Instructions on how to install ssh to connect to your iDevice can be find in the following wiki post: How do I ssh / sftp to my iPhone, iPod or iPad ?
The path on the iDevice where the music is located is "/private/var/mobile/Media/iTunes_Control/Music/" .
Copy all the folders named F01, F02, and so on. The files have nonsensical names but it is really your music.
Note that in older devices you may want to temporarily turn off the autolock from the General settings of the phone (Settings->General->Autolock).