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

.NET 

Check if username and password exists in txt file

Hello,

How can i check if username and password exists in txt file?

Text file looks like that:


username1:password1
username2:password2


I want it to read each line... not only the first line
(Feb 27, 2019 02:39 PM)Formula 1 Wrote:  Hello,

How can i check if username and password exists in txt file?

Text file looks like that:


username1:password1
username2:password2


I want it to read each line... not only the first line

Here it is https://pastebin.com/mWRFkpFX
buy me a coffee eth:0x88621A52aa5Eb3b6503628369687111810186c58
nice work itcorp... keep it up...
BTC - bc1q3efew3yzfwhdz290dafykaw0a2w56g2j69g2c6
ETH - 0xf1c873217032468990D3313da6509D1b813c4671
USDT - 0xf1c873217032468990D3313da6509D1b813c4671
PP - [email protected]
(Feb 27, 2019 05:25 PM)itcorp Wrote:  Here it is https://pastebin.com/mWRFkpFX

You should be using the count parameter in one of the overloads of the Split() method to avoid it splitting the pair into more than 2 chunks in case a password contains the ":" delimiter. NO idea why you're using LINQ here though... 🤨 You can index arrays and they also have a Length property you can check to avoid the index out of range exception.
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by Robert RougeSep 24, 2026 10:02 AM 4 220 Sep 24, 2026 10:02 AM
Last Post: Anonynuk
[.NET] by MarwenSep 24, 2022 04:19 PM 10 638 Sep 24, 2022 04:19 PM
Last Post: BinaryFox
[Shell] by Cyber "Max" ShamanJan 25, 2022 08:56 PM 3 185 Jan 25, 2022 08:56 PM
Last Post: Cyber "Max" Shaman