Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Propitious | Lesson Two - Extension Spoofing

[Image: P4JKl.gif]

Awaken. You have been lost for too long, buried, in the mist of unknown shadows. Awaken. Your cries have been heard and they shall not be neglected. Come forward. You are grasping in the dark, blind for what is before you. Awaken, for I shall be your eyes. Call my name, and I will breach the darkness in path before you. Take my hand, and I will be the light that illuminates your journey. Come forward, and walk with us, for we are the vanguard of your purification. Dance in the rhythm of silence.

Welcome. I am the head of Propitious beginner hacking classroom, and I will be teaching you from now on. You will post in this thread what you want to learn about, and what gets most votes shall be accepted for the next class. Everyone who applies for that class shall be invited to join the class and PM-ed with my Team Viewer information. Lessons will be recorded, and posted publicly so everyone who missed them can watch the video.

Second lesson, Extension spoofing:

I have covered everything you need to know about extension spoofing and how it works. I am showing how it is done manually and how to code your very own extension spoofer.





Please note that hypercam didn't record the Team Viewer window and questions people were asking me. So if you hear me talk something random, I'm actually reading and replying to their questions or requests to repeat.

If you wish to apply for the class, please post here.

Source code of the Extension Spoofer I coded:
Code
import os
a = u'\u202E'
path = raw_input("Please input the path to the directory of the file (C:\users\-Divine\Desktop for example): ")
name = raw_input("What is the name of your file?: ")
curr = raw_input("What is the current extension of the file?: ")
extension = raw_input("What is the new extension you want? (Example: exe, txt, png..): ")
os.chdir(path)
name2=name+'.'+curr

os.rename(name2, name+a+extension+'.'+curr)

Other Lessons can be found Here
Thanks for this its really helpful!
Love it <3 VERY HQ user... Great tut.
Thanks guys, I appreciate your feedback.
Thanks a lot for this, I bookmarked it for later.
Hey there,
If I have helped you or if you just enjoy my posts, please consider donating bitcoin to me 1DpL2kcxuidEsjt2MMN2AYufcVoXbi3v2X

[Image: FtwuQgr.gif]
What can extension spoofing do??
Anyway, I bet its a great tutorial!
(Apr 28, 2012 04:31 AM)Zayat96 Wrote:  What can extension spoofing do??
Anyway, I bet its a great tutorial!

If you actually watched it, you wouldn't have asked that question.
Updated the thread with the list to other lessons. Post if you liked them 😊
i get a syntax error even tho i first manualy did it along with your directions and got the syntax error, then i copy pasted the whole thing and still got the same syntax error

import os
a = u'\u202E'
path = raw_input("Please input the path to the directory of the file (C:\users\-Divine\Desktop for example): ")
name = raw_input("What is the name of your file?: ")
curr = raw_input("What is the current extension of the file?: ")
extension = raw_input("What is the new extension you want? (Example: exe, txt, png..): ")
os.chdir(path)
name2=name+'.'+curr

os.rename(name2, name+a+extension+'.'+curr)

aaand i got this
a = u'\u202E[']<- thats the syntax error i got
(May 7, 2012 11:46 AM)K-shadow Wrote:  i get a syntax error even tho i first manualy did it along with your directions and got the syntax error, then i copy pasted the whole thing and still got the same syntax error

import os
a = u'\u202E'
path = raw_input("Please input the path to the directory of the file (C:\users\-Divine\Desktop for example): ")
name = raw_input("What is the name of your file?: ")
curr = raw_input("What is the current extension of the file?: ")
extension = raw_input("What is the new extension you want? (Example: exe, txt, png..): ")
os.chdir(path)
name2=name+'.'+curr

os.rename(name2, name+a+extension+'.'+curr)

aaand i got this
a = u'\u202E[']<- thats the syntax error i got

Perhaps we aren't using the same version of python mate.
Your tuts are great as always.🙂

If you type 'mp3' in the new extension ,the server would be named as '.3pm'.So have to reverse it.
I also added a tiny checking code ( too simple) which will check if the renamed file exists.
Anyway I am not criticizing.Your contributions are invaluable to the HF community.
Any other features we can add
I know mate, I mentioned in the lesson that it has to be typed backwards when I showed the manual method.
I want to join your lessons please :)
Thank you so much, was exactly what I was looking for :)
thanx for tutorial ... finally afrt long time search is over ..


Possibly Related Threads...
Thread / Author Replies Views Last Post
by StanleyOct 30, 2025 04:59 PM 3 120 Oct 30, 2025 04:59 PM
Last Post: leste
by Harrison5678Oct 31, 2024 06:22 PM 2 157 Oct 31, 2024 06:22 PM
Last Post: Ross123
by -๖ۣۜDivine-Feb 23, 2021 01:35 PM 135 5,515 Feb 23, 2021 01:35 PM
Last Post: FikoKaramac