Asterix Passwords
Moderator: DosItHelp
-
- Posts: 65
- Joined: 08 Jun 2012 07:48
Asterix Passwords
How do you configure a batch program so that everytime you type, you see asterixes but the actual thing you type is saved into a variable? THANK YOU
Re: Asterix Passwords
have alook at this topic: dostips
and this i think will be as far as possible in batch
and this i think will be as far as possible in batch
Re: Asterix Passwords
This is possible with an ascii binary.
Code: Select all
@echo off
echo Bj@jzh`0X-`/PPPPPPa(DE(DM(DO(Dh(Ls(Lu(LX(LeZRR]EEEUYRX2Dx=>inp.com
echo 0DxFP,0Xx.t0P,=XtGsB4o@$?PIyU WwX0GwUY Wv;ovBX2Gv0ExGIuht6>>inp.com
echo T}{z}~@GwkEG@OEKcUt`}}@MqqEsy?seHE}_Phxr?@zAB`LrPEyoDt@Cj?>>inp.com
echo pky_jN@QEKpEt@ij?jySjN@REKpEt@jj?jyGjN@SEKkjtlGuNw?p@pjirz>>inp.com
echo RFvAYXV?_YLTV@@?~VCo_R~RDY@?aY?@MV_AMy1GHs?Gw`LbLK@shM`S_d>>inp.com
echo bD_nsDddlTr_sPdlnTcnaTv_xP_ngD_rhDhsrT_kkDhrtT_fmDRNCTILk?>>inp.com
echo staThg_So_rPfnqTl`qTdq_ShtpTrdqThV_Sqrm@ILm?O?cOKRDP?@@?dx>>inp.com
echo OdFYu?N?_B@J@??KD?HYE?VPsA_VO?R?XCAVO?YCR?YCE?V_F?DYA?CYB?>>inp.com
echo ORO?ROX?DYO?IYO?RO?@RY{O?ROOmYY?wdsTnVs@OVD?VEV?LYA?_R_oo~>>inp.com
echo Y_}RO_WROoiROo{ROoGRO?URP?eRP?qRP?DYP?RPc@RPq@RPAARPMAYP_A>>inp.com
echo OGDG{HYOOVO?PKRC}HY?gRP?TYO?DRTTqrQ@kcmSoRk`}RO_WROoiROo{R>>inp.com
echo OoGRO?URP?eRP?qRP?FYP?rdLTf`rTnAdTV@wD`hCTfnkTwnATcmHTdqhT>>inp.com
echo OsbT`q`TV@lDsdFTfkCTdsHTdSlT@swTdRVSkCsTsHfTSldTswdTDV@PCc>>inp.com
echo mTk`hTVfnDsdFTfkCTdsHTFXlPCsdTBfkTkqsTXCHDsdFTbnETXrtDsdRT>>inp.com
echo bnETRrtDQDJTKDMTmqr?kkcTPcRCPqRCPARGPMRGP_RGDFYOshwTnqOTrd>>inp.com
echo bTFVrPRsdTGcsTcm`TXdkDhqVTEdsTdkhTdFVSnBsT`llTKcmTdmhTFV@P>>inp.com
echo LsdTtcnTGdkTcm`T@dkTXgRCwT~B??OCgXgP?PjRXg?CQ{gHO??PCT~B??>>inp.com
echo OCOwOX??SC@1gNT~RK?OgOCJ?W=Gc?R@O?]CNgP=V?sR@O?pDo?OABcCJE>>inp.com
echo =eKCs?AO=ezDt?@OT~jN?O[O~O?sOWT?=??@tVNOOiZCcs~FT~GK?OSO~O>>inp.com
echo ?sO_T?w??`AV@o_?OOSX}E~??`iVNOVUOTcs~FT~oK?OGOE@?oLEFBdrIS>>inp.com
echo CEFFo_sPEF`\rrGSB?=_FJERO~@MOuVstEFvRIL?pO`H~O?vGcs@OT~B??>>inp.com
echo OC~djzOsT?G??Pw??HEs?C_w?A?tt\NiODcs~FT~KK?OKOBj?kGAR?X??J>>inp.com
echo I?E??I??Y?GRACYO?`?Cb?sP?g?CH?_O?m?Ct?oPYs?CO@EO?vX?w?IO?I>>inp.com
echo ??~?NoY@~J?_E?XO@C]?v??w?CO?I?~~?{EY@A@?@?wXOP?v??N?g??@??>>inp.com
echo ?~~n?N?CGYJ@XO@Cv?{??g??A?N?~~?{B??Q?`?Cb?mP?d?CEYk@ORAO?I>>inp.com
echo X?b?I??I??~?Lo?A~Jr?TP?d?Cm?qP?`?Cd?lPYy??RAC?IXO@?]??I?b?>>inp.com
echo ?M??A~~n?O?Cr?`P?r?Cn?vP?q?Cy?c@_CYOIEHm?GEoEGsPVDgB`qj1OB>>inp.com
echo O]SwaAp??@DB?B?SGPLt?C~ti=OkT?b??`?SGP?i?CSKgDi??Pwg@C??SC>>inp.com
echo T~OL?OoO?H?oi[tPxg?C??SCSxg@i??PT~?K?O?O?i?CgT~B??OCK=@Q??>>inp.com
echo SCtV@OBWWvqv?SdshTqd_SqnqTrJYO_sdDdrtTL=q@drISo_sPrr`TIL=?>>inp.com
echo Y~YKY~XM0x>>inp.com
inp.com >inp.exe
del inp.com
::Wk2/XP:
::
for /f "tokens=*" %%i in ('inp.exe guest') do %%i
echo username: %user%
echo password: %pass%
pause
Re: Asterix Passwords
Here's another one - no asterisks though.
Code: Select all
@echo off
echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5>%temp%\ftp.com
set /p password=What is your password? <nul
for /f "tokens=*" %%i in ('%temp%\ftp.com') do set password=%%i
del %temp%\ftp.com
echo password is %password%
pause
Re: Asterix Passwords
I like the first code Foxidive posted 

-
- Posts: 65
- Joined: 08 Jun 2012 07:48
Re: Asterix Passwords
Foxidrive, you genius. Can you PLEEASSEE explain the two pieces of code to me? Please...? :3
Re: Asterix Passwords
They use a program that was written by a talented fellow, Herbert Kleebauer, who arranges the code in such a way (with a tool) that they only use printable characters.
So you echo the statements into a file and that is a program. The program does the wizardry in presenting the prompt and getting the input.
Herbert monitors the usenet alt.msdos.batch.nt group and you'll find other ascii binaries by him in google.
So you echo the statements into a file and that is a program. The program does the wizardry in presenting the prompt and getting the input.
Herbert monitors the usenet alt.msdos.batch.nt group and you'll find other ascii binaries by him in google.