Delete file or directory with names with special characters

To delete files with names with special charactes, who can't be deleted by simply issuing a simple rm command, proceed with the following method. 

In the following example I suppose to have to delete a directory with the following name

'='0&parent=19&id_cat=21&offset=-4&id_prodotto=102

created by an attack on a site in /var/www

  1. Find the inode of the file or the directory you want to delete with the following command
    ls -ilath /var/www
  2. Delete the file with the inode you found with the previous command
    find . -inum 101004 -exec rm {} \;