Shell Script Required to Display List of Files and Directories Which Have Permission Like 777

Shell script or command required to display list of files and directories which have permission like 777.

I tried below command but display other user files also, feels strange why it's showing like this not only that it shows files like permissions 600. The directory contain 777 but inside file contains 600

Add the letter 'd' to the '-l' portion of your `ls` command.
When the `ls -l` executes on a directory entry, it will list its contents, too.
In order to only list the entry that 'matches'... the right command to execute is `ls -ld`.