Can someone help me with a command line to find all .php files on a server with a number in the filename?
I have searched, as best I can, for other answers, but they typically show for a specific file name structure (such as c[0-9][4-7]_list.txt), my need is ANY filename with a number in it and a .php extension, for example:
push1.php 23test.php up22date.php
Would all be valid for my search purposes.
Reasons for wanting: hacked Wordpress install, where I am finding multiple files added to directories with this kind of structure. I am auditing all files, but I feel starting with these most likely candidates are my priority (along with password changes, obviously).
Many thanks for any help given, or a slap and pointed to another answer already given would also be appreciated :-)