Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 46 guests and 2 members online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
a word list of numbers
EH-Net
May 21, 2013, 02:01:45 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Network Pen Testing
(Moderator:
don
) >
a word list of numbers
Pages:
1
[
2
]
Go Down
« previous
next »
Print
Author
Topic: a word list of numbers (Read 6411 times)
0 Members and 1 Guest are viewing this topic.
hayabusa
Hero Member
Offline
Posts: 1631
Re: a word list of numbers
«
Reply #15 on:
July 05, 2012, 02:40:49 PM »
I was thinking that way, as well, but it would need some additions, if zero (0) is permissible in ANY of the possible places, in each outcome...
So you could start with that, and put in some if's IN the sequence, below it, such that if i was less than 10, also echo it with 0 prepended, then 00, then 000, then 0000,up to 9 zeroes (to accommodate 10 places) then if i less than 100, prepend zeroes from one to eight places... and so forth, and so on...
(Note - STILL spoonfed)
«
Last Edit: July 05, 2012, 02:42:49 PM by hayabusa
»
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
tturner
Sr. Member
Offline
Posts: 432
Re: a word list of numbers
«
Reply #16 on:
July 05, 2012, 03:13:38 PM »
Yeah you could definitely make it more complex and my script would not work if you needed all 7 (or 10) spaces occupied by a number, but I read it as an ascending word list starting at 0 or 1 and ending at some number. That's actually taken from a script I commonly use to build IP address lists for tools that can target such lists as a file but don't have the capability to define at stdin.
Code:
for i in $(seq 1 255); do echo 192.168.100.$i >> hostlist.txt; done
So I got lazy myself, but the point is people need to actually try to figure things out on their own before they come asking for help. I'll be the first to admit I'm a novice but at least I put forth a minimum of effort.
Logged
Certifications:
CISSP, CISA, GPEN, GWAPT, GAWN, GCIA, GCIH, GSEC, OPSE, CSWAE, CSTP, VCP
WIP: OSWP, GSSP-JAVA, GXPN
Udacity on hold, again. I suck.
http://sentinel24.com/blog
@tonylturner
http://bsidesorlando.org
ajohnson
Recruiters
Hero Member
Offline
Posts: 1057
aka dynamik
Re: a word list of numbers
«
Reply #17 on:
July 05, 2012, 06:30:39 PM »
Quote from: hayabusa on July 05, 2012, 02:40:49 PM
I was thinking that way, as well, but it would need some additions, if zero (0) is permissible in ANY of the possible places, in each outcome...
So you could start with that, and put in some if's IN the sequence, below it, such that if i was less than 10, also echo it with 0 prepended, then 00, then 000, then 0000,up to 9 zeroes (to accommodate 10 places) then if i less than 100, prepend zeroes from one to eight places... and so forth, and so on...
(Note - STILL spoonfed)
I think the OSCE has gotten you in the habit of trying
too
hard
for i in `for ((j=9999999999; j>1; j/=10)); do echo $j; done | sort`; do seq -w 0 $i; done
Logged
WIP: GCFA |
www.infosiege.net
| @infosiege
The day you stop learning is the day you start becoming obsolete.
hayabusa
Hero Member
Offline
Posts: 1631
Re: a word list of numbers
«
Reply #18 on:
July 05, 2012, 08:55:26 PM »
@tturner - I FULLY agree!
@ajohnson - yeah, 'twas a long weekend (will be studying for attempt 2, as didn't have enough points to pass on first attempt at OSCE) I honestly hadn't even thought about that approach.
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
Cyber.spirit
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
Re: a word list of numbers
«
Reply #19 on:
July 06, 2012, 01:54:47 AM »
Quote from: tturner on July 05, 2012, 03:13:38 PM
Yeah you could definitely make it more complex and my script would not work if you needed all 7 (or 10) spaces occupied by a number, but I read it as an ascending word list starting at 0 or 1 and ending at some number. That's actually taken from a script I commonly use to build IP address lists for tools that can target such lists as a file but don't have the capability to define at stdin.
Code:
for i in $(seq 1 255); do echo 192.168.100.$i >> hostlist.txt; done
So I got lazy myself, but the point is people need to actually try to figure things out on their own before they come asking for help. I'll be the first to admit I'm a novice but at least I put forth a minimum of effort.
Ok tturner as you know making wordlists with crunch is easier but i have problem with crunch's wordlist i cant input it in hydra (even i save it as txt file). So i want to try ur script too but the problem is idk which scripting language u used to for ur script. As it has echo and and >>file.txt i think i can run it as a linux terminal batch file, am i right? If im not tell a way to run ur script to create the wordlist thank u so much.
CyberSpirit
Logged
ICS Academy Network Security Certified
shadowzero
Full Member
Offline
Posts: 120
It's a UNIX system, I know this!
Re: a word list of numbers
«
Reply #20 on:
July 06, 2012, 08:08:59 AM »
Quote from: cyber.spirit on July 06, 2012, 01:54:47 AM
Ok tturner as you know making wordlists with crunch is easier but i have problem with crunch's wordlist i cant input it in hydra (even i save it as txt file). So i want to try ur script too but the problem is idk which scripting language u used to for ur script. As it has echo and and >>file.txt i think i can run it as a linux terminal batch file, am i right? If im not tell a way to run ur script to create the wordlist thank u so much.
CyberSpirit
It's a bash script. Yes, you run it on Linux, or if you use Windows, cygwin should be able to handle it.
Logged
hayabusa
Hero Member
Offline
Posts: 1631
Re: a word list of numbers
«
Reply #21 on:
July 06, 2012, 08:12:51 AM »
@cyber.spirit -
Or use ajohnson's (it'll make sure you get all iterations) with one small tweak at the end to stick them in a file. Run it right at a command prompt in Backtrack:
root@bt:~/Desktop/# for i in `for ((j=9999999999; j>1; j/=10)); do echo $j; done | sort`; do seq -w 0 $i; done > numberlist.txt
numberlist.txt will contain all the iterations (including all those that start with a 0, or multiple 0's, and the numberlist.txt file will end up in your current working directory.
(Again, this is assuming you want all the numbers, including those with preceding 0's)
Edit - and it's bash, also, if you want to put it into a script to save
«
Last Edit: July 06, 2012, 08:19:24 AM by hayabusa
»
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
Cyber.spirit
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
Re: a word list of numbers
«
Reply #22 on:
July 07, 2012, 03:58:12 PM »
ok hayabusa thanx let me try it
Logged
ICS Academy Network Security Certified
Pages:
1
[
2
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Programming
: Finished Python Course in Codecademy now what?
(11) by
securitian
Tools
: Social-Engineer Toolkit (SET) Version 5.0 “The Wild West” Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
Tutorials
: Need guidance
(8) by
r0ckm4n
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
General Certification
: CPT Practical Submission
(0) by
z28power4u
Web Applications
: Nessus and Nikto
(4) by
Seen
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.