About
Community
Bad Ideas
Drugs
Ego
Erotica
Fringe
Society
Technology
register | bbs | search | rss | faq | about
meet up | add to del.icio.us | digg it
Go Back   Community > Technology > Network (in)Security
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Network (in)Security Interesting hacks and cracks. Info on firewalls, TCP/IP, encryption, networks, and security. The ins and outs of the phone system, caller services, how things work, what's illegal and what's not, cellular phones, beepers, telephony legislation, the PUC, ISDN, taps, who's listening, and switches. Talking about phones, hacking systems, technical advice, and such is completely LEGAL in the United States -- it's covered by the First Amendment. What's illegal is conspiracy to commit a crime. So if you say something like "Meet me at 2am so we can crack a can" or "I changed my cell phone's number myself" you are criminally liable. Stating "You can crack a can by doing thus-and-so" or "If you wanted to change a cell phone's number, you could do it like so" is perfectly OK. Posting passwords, calling card numbers, or credit card numbers is forbidden on this network. Posting such info will get you booted off the net.

Reply
 
Thread Tools Display Modes
  #1   Add secretrk1313 to your ignore list  
Old 2008-08-22, 19:14
secretrk1313 secretrk1313 is offline
Acolyte
 
Default Need help finding a number list

basically i'm in a situation that requires me to have a list of 10 billion numbers let me show you what i'm looking for.

1 set of 10 numbers per line

so i want something like this

0000000001
0000000002
0000000003

but X 10 Billion with all the possible combination's of 10 numbers. (10^10)

ive searched for hours online for a list/generator of some sort but have had no luck.
Reply With Quote
  #2   Add wargsm to your ignore list  
Old 2008-08-22, 20:24
wargsm wargsm is offline
Regular
 
Scotland
Default Re: Need help finding a number list

All you are doing is printing out the value of "x", then adding one to it, and printing it again. You will stop once "x=targetNumber". Simple as.

Download this:
http://www.netbeans.org/

Then learn some basic Java.
Reply With Quote
  #3   Add Prometheum to your ignore list  
Old 2008-08-23, 01:27
Prometheum Prometheum is offline
Regular
 
01 Send a message via AIM to Prometheum Send a message via MSN to Prometheum
Default Re: Need help finding a number list

Why would you advise him to learn java? With something small and trivial like this, the JVM start-up time will take longer than the complete runtime of the program.


I started writing this, then I realized that the program "seq" is exactly what you want.

Coreutils wins again.
Reply With Quote
  #4   Add shadowmartyr to your ignore list  
Old 2008-08-23, 01:31
shadowmartyr shadowmartyr is offline
Regular
 
In my van, lulz.
Default Re: Need help finding a number list

A simple C program would suffice, although generating something that large would suck up some CPU depending on what you wanted it to do..(output the numbers to a file or continue on into another routine, etc.).
Reply With Quote
  #5   Add secretrk1313 to your ignore list  
Old 2008-08-23, 04:57
secretrk1313 secretrk1313 is offline
Acolyte
 
Default Re: Need help finding a number list

Thanks for the constructive responses guys, and I'm not really willing to learn a language to complete this task. I was hoping there was a file already out there or program that would generate the list through simple user input. Well if it dose not exist or someone is unable to easily do it then its nothing that wont kill me.
Reply With Quote
  #6   Add Prometheum to your ignore list  
Old 2008-08-23, 06:39
Prometheum Prometheum is offline
Regular
 
01 Send a message via AIM to Prometheum Send a message via MSN to Prometheum
Default Re: Need help finding a number list

Quote:
Originally Posted by secretrk1313 View Post
Thanks for the constructive responses guys, and I'm not really willing to learn a language to complete this task. I was hoping there was a file already out there or program that would generate the list through simple user input. Well if it dose not exist or someone is unable to easily do it then its nothing that wont kill me.
The program 'seq' from GNU coreutils has the functionality you need.

You are running Gnu/Linux, right?
Reply With Quote
  #7   Add secretrk1313 to your ignore list  
Old 2008-08-23, 07:18
secretrk1313 secretrk1313 is offline
Acolyte
 
Default Re: Need help finding a number list

Quote:
Originally Posted by Prometheum View Post
The program 'seq' from GNU coreutils has the functionality you need.

You are running Gnu/Linux, right?
Not right now, but I have had lots of past experience with a few distros. Would any of the live CD's come preinstalled with this app, as i don't want to spend much time partitioning and installing it just to download one package for an app ill use once.
Reply With Quote
  #8   Add O RLY to your ignore list  
Old 2008-08-23, 10:38
O RLY O RLY is offline
Moderator
 
Padmasana Send a message via AIM to O RLY Send a message via MSN to O RLY
Talking Re: Need help finding a number list

Hehehe. I love how Prometheum always has a way to implement "GNU/Linux" into his posts. It's amazing
__________________
In Silence I lay for that Fateful Day. 0day.

jamato@email.itt-tech.edu <-- My Email
Reply With Quote
  #9   Add kenshiro_kid to your ignore list  
Old 2008-08-23, 12:46
kenshiro_kid kenshiro_kid is offline
Regular
 
kenshin_kid, joined: 02/27/06
Default Re: Need help finding a number list

I can see it being more easily written in perl then C, that's just opinion though.
Reply With Quote
  #10   Add wargsm to your ignore list  
Old 2008-08-23, 14:38
wargsm wargsm is offline
Regular
 
Scotland
Default Re: Need help finding a number list

Quote:
Originally Posted by Prometheum View Post
Why would you advise him to learn java?
Because it's useful to know some languages. If he knew them initially, this thread wouldn't be here.

Any language would suffice for such a simple task, was just the first one that came to my head.



As far as something pre-written goes. If you don't want to do what prometheum suggested, then a dictionary maker could do this.
Reply With Quote
This thread continued for 3 pages in the real archive, 27 posts total - only page 1 survived here.
Reply

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode
Hybrid Mode Switch to Hybrid Mode
Threaded Mode Switch to Threaded Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

 
To the best of our knowledge, the text on this page may be freely reproduced and distributed.
 

totse.com certificate signatures
 
 
About | Community | Bad Ideas | Drugs | Ego | Erotica | Fringe | Society | Technology
Hot Topics