Press Command+Shift+G and type in "library" and hit go.
Step 2:
In here click on application support, and then adobe.
Step 3:
In the Adobe folder click on Adobe Photoshop CC.
Step 4:
In here click on the AMT folder.
BEFORE GOING ANY FURTHER
You have to download brackets to edit the file in order to get photoshop forever.
Step 5:
In the AMT folder right click on application.xml and duplicate it, the new file will be called applicationcopy.xml, right click on this and choose open in brackets.
Step 6:
In brackets find the code that says "TrialSerialNumber" and then go the last digit of the trial serial number, my number is 91199702356201079642673 and the last digit is a 3, every 7 days when the trial for photoshop runs out change this last number to one less of itself so in my case it would be changed to a 2 with a new serial number of 91199702356201079642672. do this step every 7 days.
Step 7:
Rename the real application.xml file to something other than application, then change the name of the copy to application.xml. This is the last step.
Congratulations you now have photoshop for free and it lasts forever, do the 6th step every 7 days to reset your trial.