If there are not too many text strings accompanying the URLs you will be able to copy each link's details by viewing its source, copying it then pasting it into Search RegEx (select the link text, right-click it, select "view selection source". Copy from < a href=......to < / a>. If there are < p>< /p> tags then you'll need to include them too).
There are many different ways to hack into WordPress sites.
wp-config.php contains your database username and password so remember to change the file access permissions of wp-config.php to 400 (and remember to change them back to their current settings before upgrading or re-installing WordPress Core Files, or if you want to make any edits to it.). Also, use the BulletProof Security plugin to protect your site. A few other security suggestions can be found at JournalXtra. When wp-config is set to 400, no one can edit or view it.
When using BulletProof Security, ensure you edit the secure .htaccess file to reflect any changes you've personally made to your current .htaccess file before you use the secure file to replace your current file.