![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jul 2003
Posts: 2,109
|
script to generate random letters....
can someone hook me up with a php script to generate patterns like this in .txt file:
aa ab ac ad ae af . etc . ba bb bc bd . etc . wa wb wc thanks ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
if you want to invest a few bucks, icq: 33375924
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
done
![]()
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Registered User
Join Date: Jan 2004
Location: Canadia
Posts: 54
|
Code:
dim charCnt(1) call allcombos "abc",3 sub allcombos charstr$,combolen redim charCnt(combolen) charstrlen=len(charstr$) for i=1 to charstrlen^combolen t$="" for k=combolen to 1 step -1 t$=t$+mid$(charstr$,charCnt(k)+1,1) next k print t$ charCnt(1)=charCnt(1)+1 for k=1 to combolen if charCnt(k)=charstrlen then if k<combolen then charCnt(k+1)=charCnt(k+1)+1 charCnt(k)=0 end if next k next i end sub
__________________
http://www.bleepo.org |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
That isn't really random, that's following a pattern.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to set a custom title
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
*nix "sh" script
Code:
for x in a b c d e f g h i j k l m n o p q r s t u v w x y z do for y in a b c d e f g h i j k l m n o p q r s t u v w x y z do echo ${x}${y} done done |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
I'm here for SPORT
Industry Role:
Join Date: Jul 2001
Location: Phone # (401) 285-0696
Posts: 41,470
|
should be easy to make for a programer
__________________
This dog, is dog, a dog, good dog, way dog, to dog, keep dog, an dog, idiot dog, busy dog, for dog, 20 dog, seconds dog! Now read without the word dog. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Registered User
Join Date: Jan 2004
Location: Canadia
Posts: 54
|
Code:
#include<stdio.h> bool __cdecl Increment( char* lpToken, unsigned long dwLen ) { char* pStart = lpToken; lpToken = &lpToken[ dwLen ]; do { switch ( ++lpToken[ 0 ] ) { case 'Z'+1: lpToken[0] = 'a'; return 1; break; case 'z'+1: lpToken[0] = '0'; return 1; break; case '9'+1: lpToken[0] = 'A'; break; default: return 1; } lpToken--; } while ( lpToken >= pStart ); return 0; } int main( void ) { char szString[ 10 ]; unsigned long dwLength = 1; *(unsigned short*)(szString) = 'A'; // unsigned short so we can copy the sz null. for ( unsigned long i = dwLength - 1; i < sizeof( szString ) -1; i++ ) { do { printf( "%s\n", szString ); //getchar( ); // uncomment to pause inc display. } while ( Increment( szString, dwLength -1 ) ); *(unsigned short*)(szString+dwLength++) = 'A'; // '' } return 0; } Quote:
__________________
http://www.bleepo.org |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
PHP Code:
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
PoiSEO.com
Industry Role:
Join Date: Apr 2001
Location: PoiSEO.com
Posts: 1,201
|
so, who's the winner?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Registered User
Join Date: Jan 2004
Location: Canadia
Posts: 54
|
Why you would want a php script to do this I don't know. Just open up visual studio and run one of the sources I posted. Bam you've got a word list suitable for brute force.
__________________
http://www.bleepo.org |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
|
Quote:
Psst - http://fr.php.net/range |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: oddfuturewolfgangkillthemall!!!!!!!
Posts: 5,656
|
aa
ab ac ad ae af ag ah ai aj ak al am an ao ap aq ar as at au av aw ax ay az ba bb bc bd be bf bg bh bi bj bk bl bm bn bo bp bq br bs bt bu bv bw bx by bz ca cb cc cd ce cf cg ch ci cj ck cl cm cn co cp cq cr cs ct cu cv cw cx cy cz da db dc dd de df dg dh di dj dk dl dm dn do dp dq dr ds dt du dv dw dx dy dz ea eb ec ed ee ef eg eh ei ej ek el em en eo ep eq er es et eu ev ew ex ey ez fa fb fc fd fe ff fg fh fi fj fk fl fm fn fo fp fq fr fs ft fu fv fw fx fy fz ga gb gc gd ge gf gg gh gi gj gk gl gm gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh hi hj hk hl hm hn ho hp hq hr hs ht hu hv hw hx hy hz ia ib ic id ie if ig ih ii ij ik il im in io ip iq ir is it iu iv iw ix iy iz ja jb jc jd je jf jg jh ji jj jk jl jm jn jo jp jq jr js jt ju jv jw jx jy jz ka kb kc kd ke kf kg kh ki kj kk kl km kn ko kp kq kr ks kt ku kv kw kx ky kz la lb lc ld le lf lg lh li lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nb nc nd ne nf ng nh ni nj nk nl nm nn no np nq nr ns nt nu nv nw nx ny nz oa ob oc od oe of og oh oi oj ok ol om on oo op oq or os ot ou ov ow ox oy oz pa pb pc pd pe pf pg ph pi pj pk pl pm pn po pp pq pr ps pt pu pv pw px py pz qa qb qc qd qe qf qg qh qi qj qk ql qm qn qo qp qr qs qt qu qv qw qx qy qz ra rb rc rd re rf rg rh ri rj rk rl rm rn ro rp rq rr rs rt ru rv rw rx ry rz sa sb sc sd se sf sg sh si sj sk sl sm sn so sp sq sr ss st su sv sw sx sy sz ta tb tc td te tf tg th ti tj tk tl tm tn to tp tq tr ts tt tu tv tw tx ty tz ua ub uc ud ue uf ug uh ui uj uk ul um un uo up uq ur us ut uu uv uw ux uy uz va vb vc vd ve vf vg vh vi vj vk vl vm vn vo vp vq vr vs vt vu vv vw vx vy vz wa wb wc wd we wf wg wh wi wj wk wl wm wn wo wp wq wr ws wt wu wv ww wx wy wz xa xb xc xd xe xf xg xh xi xj xk xl xm xn xo xp xq xr xs xt xu xv xw xx xy xz ya yb yc yd ye yf yg yh yi yj yk yl ym yn yo yp yq yr ys yt yu yv yw yx yy yz za zb zc zd ze zf zg zh zi zj zk zl zm zn zo zp zq zr zs zt zu zv zw zx zy zz I know there's an easier way of doing this but I like to do stuff a weird/hard way rofl. <?php $arr="a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z"; $arr_ex=explode("/",$arr); for($i=0;$i<count($arr_ex)*2;$i++) { if($arr[$i]=="/"){continue;} print "$arr[$i]a<br>"; print "$arr[$i]b<br>"; print "$arr[$i]c<br>"; print "$arr[$i]d<br>"; print "$arr[$i]e<br>"; print "$arr[$i]f<br>"; print "$arr[$i]g<br>"; print "$arr[$i]h<br>"; print "$arr[$i]i<br>"; print "$arr[$i]j<br>"; print "$arr[$i]k<br>"; print "$arr[$i]l<br>"; print "$arr[$i]m<br>"; print "$arr[$i]n<br>"; print "$arr[$i]o<br>"; print "$arr[$i]p<br>"; print "$arr[$i]q<br>"; print "$arr[$i]r<br>"; print "$arr[$i]s<br>"; print "$arr[$i]t<br>"; print "$arr[$i]u<br>"; print "$arr[$i]v<br>"; print "$arr[$i]w<br>"; print "$arr[$i]x<br>"; print "$arr[$i]y<br>"; print "$arr[$i]z<br>"; } ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
|
Quote:
Anything. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Industry Role:
Join Date: Aug 2008
Location: Hollywood
Posts: 2,785
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Registered User
Join Date: Sep 2009
Posts: 42
|
I would hire the guy any time. I prefer a guy that can give me a quick and stable solution, than one that gives me a solution in 4 lines of code, with bugs, and his head up his ass.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Confirmed User
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
|
Quote:
BTW, here's your smart-arse 4 line solution - done in 1 line! <? foreach(range('a','z') as $v) foreach(range('a','z') as $k) echo $v.$k."<br />" ?> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: oddfuturewolfgangkillthemall!!!!!!!
Posts: 5,656
|
Hahaha, I had a brain fart. I would never leave something like that for money (not that I am for hire anyway), it actually has a bug but I didn't feel like fixing it, hopefully he just wanted the list and not an actual code.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Registered User
Join Date: Jan 2004
Location: Canadia
Posts: 54
|
__________________
http://www.bleepo.org |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
problem was taken care of 24 hours ago, wtf guys?
![]()
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
. . .
Industry Role:
Join Date: Apr 2007
Location: NY
Posts: 13,724
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
"patterned"...
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |