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 Antagonism 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.
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
Dec 28, 2012 10:40 PM (This post was last modified: Dec 28, 2012 10:42 PM by hand0fg0d.)
here is one thats visual basic based if anyone wants source for it.
Just name it "whatever.vbs"
Code
Call Spoof
Sub Spoof()
dim filePath,fileName,exten,FileLen,revExten,dest,NewFileName
set fs = CreateObject("Scripting.FileSystemObject")
filePath=inputbox("Enter The FilePath")
exten=inputbox("Enter the Extension to spoof" & vbCrlf & _
"Example : .jpg, .mp3 , .avi , etc..")
fileName=fs.GetFileName(filepath)
filePath=fs.GetParentFolderName(filepath)
FileLen=Len(fileName)-4
Dim spclChar
spclChar = ChrW(8238)
revExten=StrReverse(exten)
NewFileName=inputbox("Enter the new file name max 5 chars")
dest=NewFileName & spclChar & revExten & mid(fileName,FileLen+2)
fs.copyFile filePath & "\" & Filename,filePath & "\" & dest
msgbox "Extension Spoofed Successfully!!",vbInformation
end sub
The first question you'll answer will be to enter the filepath but make sure you include the filename with extension. for example C:\Users\hand0fg0d\Desktop\123.jpg
The second question is asking which extension you would like to make the new file appear as but make sure you add the dot to the file extension. example would be ".jpg" not just jpg
The third question asks what you would like the new file to be named, it does have the current limit of 5 characters but you can change that if you like.
(Dec 28, 2012 10:40 PM)hand0fg0d Wrote: here is one thats visual basic based if anyone wants source for it.
Just name it "whatever.vbs"
Code
Call Spoof
Sub Spoof()
dim filePath,fileName,exten,FileLen,revExten,dest,NewFileName
set fs = CreateObject("Scripting.FileSystemObject")
filePath=inputbox("Enter The FilePath")
exten=inputbox("Enter the Extension to spoof" & vbCrlf & _
"Example : .jpg, .mp3 , .avi , etc..")
fileName=fs.GetFileName(filepath)
filePath=fs.GetParentFolderName(filepath)
FileLen=Len(fileName)-4
Dim spclChar
spclChar = ChrW(8238)
revExten=StrReverse(exten)
NewFileName=inputbox("Enter the new file name max 5 chars")
dest=NewFileName & spclChar & revExten & mid(fileName,FileLen+2)
fs.copyFile filePath & "\" & Filename,filePath & "\" & dest
msgbox "Extension Spoofed Successfully!!",vbInformation
end sub
The first question you'll answer will be to enter the filepath but make sure you include the filename with extension. for example C:\Users\hand0fg0d\Desktop\123.jpg
The second question is asking which extension you would like to make the new file appear as but make sure you add the dot to the file extension. example would be ".jpg" not just jpg
The third question asks what you would like the new file to be named, it does have the current limit of 5 characters but you can change that if you like.
hope this helps
btw this was written by someone named DJ MAK
Thanks for pointing it out mate. Thanks for the feedback.