Jump to content

Recommended Posts

Posted (edited)

Hi guys.

Ive create a program that generates a random password.

Downloa Link: http://www.mediafire.com/file/fp8t81g253s2959/Random+Password+Generator+V1.01.rar

Virus Total Link: https://www.virustotal.com/en/file/9ca5bbd2d5b074c367a64c7d5abbea40536187918fff73bfa49816e395a89ada/analysis/1483453829/

For V1.01

 

How to use:

1) Open the .exe

2) Press Enter

3) A new password.txt will be generated with ur new code

 

To use it again u dont need to delete the password.txt.

The program will just delete the old password and regenerate a new one.

A foto: ( http://imgur.com/a/FAmGY ) (Outdated from V1)

Made with C++

I need feedback in order to improve it :)

 

Updates for V1.01:

Added Help and you can choose for Big or Small Password

Edited by ganjaradio
Posted (edited)

You should add options such , what the password you need to contains...

Letter,numbers,both,uppercase and lowercase etc...

Good job anyway

Edited by melron
Posted (edited)
If you don't mind installing Python (btw, even if you can't code in it, it's the best available calculator)
#!/usr/bin/env python

CHARACTERS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
LENGTH = 10

from random import seed, choice
seed()
print "".join([choice(CHARACTERS) for i in xrange(LENGTH)])


Or maybe even better (taking length and chars from commandline arguments):

#!/usr/bin/env python

from sys import argv, stderr
from random import seed, choice

def usage():
    print >> stderr, "Usage: %s [LENGTH] [CHARACTERS]" % (argv[0], )
    raise SystemExit(1)

LENGTH = 10
CHARACTERS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"

if len(argv) > 3: usage()

if len(argv) == 2 and argv[1] in ["-h", "--help", "/h", "-?", "/?"]: usage()

if len(argv) > 1:
    try:
        LENGTH = int(argv[1])
    except:
        usage()

if len(argv) > 2:
    CHARACTERS = argv[2]

seed()

print "".join([choice(CHARACTERS) for i in xrange(LENGTH)])


Edited by eressea
Posted

Ah, then good job :)

 

I've looked into your code (thanks for added pdb file :)) and I've noticed this:

  • you should call srand only once
  • you shouldn't use just time() as parameter to srand, use something like srand(time(0) + _getpid()) or you'll generate the same password on two different machines when you run it in the same second
  • you should get the characters from one string like "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", not from 10 different "random" strings
  • you should generate the result to some std::string (just push_back those chars there until you have password long enough)

Simply (pseudocode, not tested):


#include <windows.h>
#include <string>
#include <stdlib.h>

int main(int argc, char **argv)
{
    srand(time(0) + _getpid()); // it would be better to obtain some more random seed - in UNIX, you should get this value from /dev/random
    std::string result;
    const std::string chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
    for (size_t i = 10 ; i ; --i) {
        result.push_back(chars[rand() % chars.size()]); // even this could be written better, using lowest bits isn't good for some pseudorandom generators
    }
    std::cout << "Random password: " << result << std::endl;
    return 0;
}


Posted

Interesting,such thing may be very usefull in some situations.i would like an updated version with more,thanks for sharing with us.

Not only you made 300 posts in 3 days but you write down some big bullshit. 

Share what? He downloaded a code from stackoverflow, you don't even know him. Check his profil and stop write bullshit please. 

Posted (edited)

Your repository is private (or at least I can't see it)

ah sry forgot to change ill fix it now :)

 

 

 

Also ill update it

 

Νow its public

Edited by ganjaradio
Posted (edited)

Added:
Size (chosen from the user)
Type of the password (chosen of the user)

Uploaded in BitBucket

Download Link (the .exe only): http://www.mediafire.com/file/1xsa4f2rjkakemw/Random+Password+Generator.exe

Virus Total: https://www.virustotal.com/en/file/151fc70416fd06f6d45aab9b76b6a01612f90927c581a8ecc1e02e067662d6d3/analysis/1483804023/

 

Need feedback if possible :)

 

Ive also created a client, that can be connected with a server (Easy way to make a cheating program for l2, the basic packets are ready, you just need to create the rest)

And Math Program that rights in a notepad the XP for next LvL (Can be changed easily for other math)

I can share them if u want

Edited by ganjaradio

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Use l2tower for free, or try adrenaline. @Alex K.
    • 🎁 Double the Impact, Half the Cost! from 25/10/2025 until 25/12/2025 Buy or Renew your Donation Panel now and save 50% because supporting others should reward you too. 💡 Use code BLACKFRIDAY at checkout! https://hopzone.eu/store/product/26-donate-panel-v5/   About Donate Panel v5 PAYMENT IN EASY 5 STEPS Login with your character name. Select the donation service (Paypal Stripe Payeer MercadoPago 🆕). Select the amount of payment. Pay. 😎 Automatically recieve the reward ingame (and yes) while he is online! 🤯 PAYMENT METHODS Paypal Stripe accepts credit cards, debit cards, ACH transfers, Apple Pay, Google Pay, Microsoft Pay, and various local payment methods from around the world. Payeer accepts BTC, LTC, ETH, DASH, BCH, USD, EUR, RUB wallets MercadoPago accepts ARS, BRL, CLP, MXN, COP, PEN, UYU. PROTECTION Full SSL website (can be forced by htaccess) XSS Protection just in case. Remove vulnerability headers in htaccess level Session Validation COOKIE, POST, GET global inputs are sanitized SQL Injection protection Query String protetion Prepared statements of PDO driver (no sql injection there) Google Invisible Captcha v3 (NEW) Last but not least security through obscurity SEO & PUBLIC MANAGEMENT SEO Friendly urls (in htaccess level) Google Analytics and GTAG Code ready. Terms of use ready to go Refund policy ready to go Contact All the TERMS text are showing config dynamic item images/text with server's name and more OPTIMIZATION AND SPEED Zip Content (faster load) Memory save (unloading global vars) Using CDN’s for bootstrap Scripts are loaded in footer Images are soft to max 10kb Small and smart organized code style FUNCTIONALITIES Multilanguage (4 languages so far) EN ES NL EL (Easy to add more) Payment methods Paypal, Stripe, Payeer and MercadoPago After payment or cancel the user is redirected back to “Thank you” page. TECHNOLOGIES Bootstrap 5x CSS PHP 5.6+ (for l2off) and PHP 7.4+ (for java) Extensions for php: MySQL (L2Java), pdo_dblib(L2OFF), pdo_sqlsrv(L2OFF), mssql_connect (L2OFF) and PDO Drivers that support MariaDB, MySQL, MsSQL. SYSTEMS Stripe and MercadoPago supports sandbox and live. Detailed and seperated Logs (ERROR, DEVELOPER, INFO, WARNING, PAYMENT) for website and Rest APIs. Detailed Log in database for Payments and services used. Google Analytics (You know when players are in the panel and if they pay) Google Captcha V3 Dynamic Icons to show according your Donate Item ID Multiple servers L2OFF or L2JAVA servers can be added together as server network     BE AWARE: Leaked versions of old v2 panels (year 2018 with bugs) are still out sold by scammers without support or knowledge of the files.
    • I work with Kenrix and he is a  next level coder. Hugely Recommended.
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock