批处理输入密码但不显示字符的代码---分析

初学笔记——关于C语言输入密码不显示 在Linux命令行下,我们输入密码时会发现不会显示密码字符,那么利用C语言如何实现相同功能呢 man手册提供了许多信息给我们,在这里我们可以 man tcsetattr 查看详细说明 下面是代码 /****************describe****************** * * hidden passwd when you input password * you hav 阅读详情

从中国DOS联盟看到这个帖子:批处理输入密码但不显示字符的代码

感觉很有趣,分析一下:

  1. @echo off
  2. :echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5x>in.com
  3. echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5>in.com
  4. set /p password=Enter password:<nul
  5. echo %password%
  6. for /f "tokens=*" %%i in ('in.com') do set password=%%i
  7. :pause
  8. del in.com
  9. echo.
  10. echo The Password is:"%password%"
  11. set password=
  12. pause
  13. goto exit
  14. comment:all data or code are printable!!!
  15. for /f "tokens=*" %%i in ('in.com') do set password=%%i
  16. variable i is the output string of program in.com
  17. in.com==hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5x==>
  18. xxxx:0100 68 50 31 58 35 30 30 50-5B 50 5A 42 42 42 66 68 hP1X500P[PZBBBfh
  19. xxxx:0110 23 62 23 23 66 58 66 2D-56 40 60 24 66 50 66 5D #b##fXf-V@`$fPf]
  20. xxxx:0120 66 33 2F 66 31 2F 35 2B-2B 75 35 78 0D 0A 00 00 f3/f1/5++u5x....
  21. in.com:
  22. xxxx:0100 685031 PUSH 3150h
  23. xxxx:0103 58 POP AX;ax=3150
  24. xxxx:0104 353030 XOR AX,3030h;ax=160
  25. xxxx:0107 50 PUSH AX
  26. xxxx:0108 5B POP BX;bx=160 <--
  27. xxxx:0109 50 PUSH AX
  28. xxxx:010A 5A POP DX;dx=160;can not use 'add dx,3'-->83C203 is not printable char
  29. xxxx:010B 42 INC DX;dx=161;printable char [0x20,0x7E]
  30. xxxx:010C 42 INC DX;dx=162;
  31. xxxx:010D 42 INC DX;dx=163 <--buffer base address
  32. xxxx:010E 666823622323 PUSHD 23236223h
  33. xxxx:0114 6658 POP EAX;eax=23236223h
  34. xxxx:0116 662D56406024 SUB EAX,24604056h;eax=FEC321CD;not printable char instruction,use this method(modify code 
  35. segment) or stack.
  36. xxxx:011C 6650 PUSH EAX
  37. xxxx:011E 665D POP EBP;ebp=FEC321CD,'FE'-->max char to input,'C3'-->RET,'CD21'-->INT 21
  38. xxxx:0120 66332F XOR EBP,[BX]
  39. xxxx:0123 66312F XOR [BX],EBP;[BX]=ds:[160]=cs:[160]=FEC321CD=INT 21,RET,buffer size
  40. xxxx:0126 352B2B XOR AX,2B2Bh;eax=FEC30AE6, ah=0A
  41. xxxx:0129 7535 JNZ Short 0160;yes
  42. xxxx:012B 780D JS Short 013A;78 is not needed,'x'
  43. xxxx:012D 0A00 OR AL,[BX+SI]
  44. xxxx:012F 0000 ADD [BX+SI],AL
  45. xxxx:0131 0000 ADD [BX+SI],AL
  46. xxxx:0133 0000 ADD [BX+SI],AL
  47. xxxx:.... .... ...
  48. xxxx:0160 CD21 INT 21h;ah=0A: get keyboard input to buffer. ds:dx=buffer base address,[ds:dx]=max buffer size,
  49. [ds:dx+1]=actual buffer size
  50. xxxx:0162 C3 RET
  51. xxxx:0163 FE <--max char to input
  52. xxxx:0164 x <--buffer_size
  53. xxxx:0165 <-- buffer

不过,还是有一点不理解,为什么变量password可以取到in.com的buffer的字符串呢??

BAT批处理脚本-加密解密-不显示输入密码.zip 为避免误触发,有些改为了txt格式,使用时请自行查看业务然后改为bat格式即可。 立即下载

相关推荐

RK3588 C-PHY摄像头驱动升级踩坑记:从‘Only CSI2 supported’报错到成功取流

本文详细记录了在RK3588平台上调试C-PHY摄像头驱动的全过程,从‘Only CSI2 supported’报错分析到成功取流。内容涵盖C-PHY与CSI-2协议差异、SDK版本对比、V4L2框架下的bus-type解析机制,以及硬件排查与寄存器调优实战经验,为嵌入式Camera驱动工程师提供宝贵参考。

weixin_42522374的博客 129

输入密码但不显示既隐藏输入密码的批处理(20090420)

【方法一】 @echo off set RealPwd=Batcher chcp 437 >nul graftabl 936 >nul >"%temp%\in.com" echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5x set /p=请输入密码:<nul for /f "tokens=*" %%a in ('"%temp%\in.com"') do ( set "InputPass=%%a" ) echo. if "%Inpu

木牛的博客 2321

silvaco——GaN HEMT探索

上图为输出特性曲线 ,分别是在栅压为1v、3v、5v的情况下,可以看出在1v时器件处于截止状态,只有非常小近似于0的电流通过,随着栅压逐渐增大,沟道开启,产生漏极电流。上图为栅极漏电流曲线和转移特性曲线以及其提取的参数,可以看到阈值电压为=1.30249V,当栅压为0v时,Id=8.01032e-006,当栅压为5V时,Ig=3.11627e-006。albrct.n,低场迁移率模型,bn.albrct,an.albrct是albrct模型中的参数,可以由用户自己设定。lat.temp,晶格自热模型;

weixin_61913839的博客 7633

批处理中使输入隐藏的代码及解释

: by Herbert Kleebauer :::::::::::::::::::::::::::::::::::::::::::::::::::::::::: @echo off echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5x>in.comset /p password=Enter password:for /f "tokens=*" %

oathevil的专栏 2841

基于深度学习YOLOv8的商品识别系统(深度学习 + UI界面 + 训练数据集 + Python代码)

如果使用自定义数据集,可以通过图像标注工具如LabelImg来标注每个商品的类别和边界框,并保存为YOLO格式的文本文件。bash复制编辑/dataset/images/train/val/labels/train/val这样,我们就准备好了数据集,可以开始训练YOLOv8模型。本文介绍了如何使用YOLOv8构建一个商品识别系统,包括从数据准备到模型训练,再到UI界面的开发。通过深度学习技术,尤其是YOLOv8的高效目标检测能力,我们能够快速实现商品识别并集成到实际应用中。

YOLO 303

基于 YOLOv26 的电路焊点虚焊检测系统:AI 质检实战

本文介绍了一种基于YOLOv26的电路焊点虚焊检测系统,利用深度学习技术实现自动化质检。系统能识别虚焊、桥接、少锡等8种常见焊点缺陷,具有高精度、实时性和强鲁棒性等特点。文章详细阐述了系统架构,包括数据采集、预处理、YOLOv26检测模型和后处理模块,并提供了代码实现的关键部分,如数据预处理增强和模型训练配置。该系统可显著提高电子制造业的质检效率和准确性。

一键难忘的博客 700

cmd批处理 nul 部分用法

cmd批处理 用法1:2>nul 2>nul 是屏蔽操作失败显示的信息,如果成功依旧显示。 如:在批处理文件所在路径下md(或者mkdir)创建名为test的文件夹,当此文件夹已经创建时会报错。使用2>nul 可屏蔽此提示 md test 2>nul 用法2:>nul (即1>nul) >nul 是屏蔽操作成功显示的信息,但是出错还是会显示(即1>nul) @符号是取消本行

没有蛀牙lm的博客 2万+

【2026年华为秋招(AI)-2月4日-第一题(100分)- 选择题】(题目+思路+Java&C++&Python解析+在线测试)

本文摘要:本文包含20道选择题,涵盖机器学习、线性代数、Transformer架构、概率统计等多个领域。题目涉及正交矩阵性质、Transformer注意力机制、聚类距离度量、ReAct框架、Softmax函数、混淆矩阵计算、Flash-Attention优化、位置编码、期望计算、归一化方法、矩阵迭代法、矩阵秩、大模型架构、神经网络推理、泊松流性质、SVM核函数以及聚类算法等知识点。每道题均提供解析,帮助理解核心概念和解题思路。

m0_73659489的博客 128

一个有效的bat程序中输入密码不回显并显示星号*

@echo off set "psCommand=powershell -Command "$pword = read-host 'Enter Password' -AsSecureString ; ^ $BSTR=[System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($pword); ^ [S

sinat_26853581的博客 5574

【VTKExamples::Meshes】第十二期 QuadricDecimation

本文分享VTK样例QuadricDecimation,并解析接口vtkQuadricDecimation,希望对各位小伙伴有所帮助!

qq_40041064的博客 351

Python编程基础05:运算符与表达式

文章目录一、算术运算符1、分类说明表2、注意事项3、案例演示任务1、计算成绩差与平均成绩课堂练习:编程处理带余除法。任务2、打印购物小票 运算符就是专门用于告诉程序执行特定运算或逻辑操作的符号。表达式是指由常量、变量和运算符组成的一个算式。编写程序对数据进行处理,其实处理就是对数据实施各种各样的运算,搞懂运算符与表达式是我们编写程序的基础性工作,本次讲课笔记通过案例讲解各种运算符的用法以及正确书写Python表达式的注意事项。 一、算术运算符 Python中的算术运算符就是用来处理四则运算的符号,也是

howard2005的专栏 3127

纯批处理实现输入密码时不显示(障眼法)

纯 P 实现输入密码时不显示。 ( 障眼法) 代码思路来源与cn-dos的模拟线程。http://www.cn-dos.net/forum/viewthread.php?tid=39880&fpage=1&highlight=%E7%BA%BF%E7%A8%8B 感觉似乎有点取巧,欢迎板砖 ^_^ 改为滚动式的,大家看效果是否好点? 障眼法...... 让人看不清到底输入了什么。 @echo off&color 1f title code 随风 @bbs.bathome.net

木牛的博客 1084

基于Python的股票K线图爬取与形态识别系统

本文详细介绍了一个基于Python的股票K线图爬取与形态识别系统。该系统通过网络爬虫技术获取股票历史数据,使用Matplotlib生成K线图,并应用卷积神经网络(CNN)对经典K线形态进行识别。文章详细阐述了数据采集、K线图生成、CNN模型构建与训练的完整流程,并提供了完整的代码实现。本研究为金融科技领域的毕业设计提供了有价值的参考方案。关键词:Python爬虫、K线图、卷积神经网络、形态识别、股票交易。

2201_76125261的博客 1033

BUG记录:安卓9.0 EditText输入框不显示字符问题

EditText输入密码不显示字符问题 正常显示效果应该是这样: 在9.0系统显示异常,现象如下: 可以看到,上面的两个输入框输入字符的时候都是实时显示的,当光标移动到最下方的输入框的时候,光标都停止跳动了,而且输入字符不会实时显示,当键盘收回的时候字符又出现了。 先上解决办法,有两种: 第一种:将 android:windowSoftInputMode 设置为 "adjustR...

cxz200367的博客 3446

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

Android开发 显示密码 输入时短暂显示字符

Android开发 显示密码 输入时短暂显示字符

Android应用开发工程师 1598

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Linux下C语言键盘输入密码时无回显(屏幕不显示字符)

[cpp] view plaincopy #include    #include    #include    #include    #define ECHOFLAGS (ECHO | ECHOE | ECHOK | ECHONL)   //函数set_disp_mode用于控制是否开启输入回显功能   //如果option为0,则关闭回显,为1则打开

luojiafei的专栏 9517

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

关于批处理输入密码的问题

最近要写一个批处理来处理系统服务的账号和密码变更,需要涉及到密码的输入。但是貌似批处理是无法处理密码不明文显示的问题。不过相信广大码农的智慧还是无穷的,于是乎就开始百度。果不其然,找到了差不多3,4种方法。每一种据说都是灰常犀利的,但是很悲剧的是,我这边一种都没有成功执行过。我总结了下,网上的方法大约如下: 方法一:使用ASCODE 1: @ec...

weixin_30753873的博客 1306

python 输入密码不显示,python实现在控制台输入密码不显示的方法,python输入密码...

python实现在控制台输入密码不显示的方法,python输入密码本文实例讲述了python实现在控制台输入密码不显示的方法。分享给大家供大家参考。具体实现方法如下:import console;namespace console{//控制台读取密码,并显示星号getPassword = function(){var tstr = {};var input = kbRead(true);while...

weixin_42299645的博客 1504

VC密码框显示字符的终极设置方法

用过VC开发过Windows应用程序的人都知道,Edit 编辑框控件可设置为密码样式 (ES_PASSWORD)。但默认的密码通常是最普通的英文星号(*),这个星号有点过小,不便于观察。根据MSDN的描述,如果使用MFC的CEdit类,可调用SetPasswordChar设置密码字符。但问题是,如果工程的字符集是ANSI多字节字符,这样只能设置英文字符,因为该接口参数的类型是CHAR,不是WCHA

无标题 2931

c++实现用户密码输入界面

#include <stdio.h> #include <windows.h> #include <conio.h> #include <bits/stdc++.h> using namespace std; void gotoxy(int x,int y) { COORD c; c.X=x-1; c.Y=y-1; S...

codertcm的博客 7959

shell输入密码隐藏回显

#!/bin/bash #输入密码不回显 function enterPass() {     local PASSWORD=""     stty -echo #设置输入不回显     read -p "Please input PASSWORD: " PASSWORD     echo -e "\r" #换行     stty echo #取消不回显     echo "En

kkfgh的博客 1855

密码不回显

在软件开发中,往往会遇到要求用户输入密码的情况。出于对密码的保密,输入的字符是不会显示到屏幕上的。例如,在登录Linux系统时,输入用户名后,输入的密码是不显示的。这里介绍两种方法来解决这一问题。 6.5.1  使用curses库 curses库是由柏克莱大学的Bill Joy及Ken Arnold所开发的。当时开发curses库的目的是为了解决程序对于不同终端的兼容性。curses库

FunkyFrog821951259的博客 1931

解决ubuntu系统中输入sudo passwd root,之后,提示输入新密码时,输不进去

能输入的,只是这个输入是不回显的,Windows平台下,在输入框输入密码就会显示*或远点,但是Linux里面输入很对都是不回显的,你不用担心,继续输入好了 root@iZ51bcrug2kaiwZ:~# sudo adduser lixiang Adding user `lixiang' ... Adding new group `lixiang' (1000) ... Adding new u...

NJU phd 在读。 1万+

java控制台密码隐藏_请教如何才能做到在控制台里输入密码显示特殊符号或者不显示...

RT如何才能做到在控制台里输入密码时显示特殊符号或者完全不显示呢?记得在使用weblogic时提示输入密码就是不会显示用户的输入,看了它的代码应该是使用了PasswordCallback,也就是JAAS,PasswordCallback的构造函数的确有一个boolean的参数可以指定是否显示密码,然后有一个boolean isEchoOn()方法暴露这个参数,然后就写了一个最简单的,当然new P...

weixin_30350163的博客 909
上一篇: UEFI 2.2 Spec!
下一篇: 修改 EFI EDK2 的logo
xtdumpling
博客等级 码龄19年 119粉丝 27原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值