Jump to content

i8igmac

Dedicated Members
  • Posts

    939
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by i8igmac

  1. ​ jquery... So, i have been at this for a few hours, searching for jsfiddle examples i can modify to fit my needs... ​ if a div scrolls out of view, i want to trigger a example event like (hide,fade, alert or anything) ​ if the div is above the screen? ​if the div is below the screen? ​if the div is center of the screen? the example bellow is missing the "if the div is above the screen?" else if (objectBottom < windowBottom-500) {//the div is above screen} ​this was my attempt, but i fail... its as close i could get... ​ http://jsfiddle.net/b7qnrsrz/117/ ​link or here is source .fade { margin: 50px; padding: 50px; background-color: lightgreen; opacity: 0; } <div> <div class="fade">Fade In 01</div> <div class="fade">Fade In 02</div> <div class="fade">Fade In 03</div> <div class="fade">Fade In 04</div> <div class="fade">Fade In 05</div> <div class="fade">Fade In 06</div> <div class="fade">Fade In 07</div> <div class="fade">Fade In 08</div> <div class="fade">Fade In 09</div> <div class="fade">Fade In 10</div> </div> $(window).on("load",function() { function fade() { $('.fade').each(function() { /* Check the location of each desired element */ var objectBottom = $(this).offset().top + $(this).outerHeight(); var windowBottom = $(window).scrollTop() + $(window).innerHeight(); /* If the object is completely visible in the window, fade it in */ if (objectBottom < windowBottom) { //object comes into view (scrolling down) if ($(this).css('opacity')==0) {$(this).fadeTo(1,1);} } if (objectBottom > windowBottom) { //object goes bellow the screen (scrolling up) if ($(this).css('opacity')==1) {$(this).fadeTo(1,0);} }else if (objectBottom < windowBottom-500) { //object goes above the screen (scrolling down) if ($(this).css('opacity')==1) {$(this).fadeTo(1,0);} } }); } fade(); //Fade in completely visible elements during page-load $(window).scroll(function() {fade();}); //Fade in elements during scroll }); ​
  2. I'm away from my computer at the moment, I have some pretty clean examples... I hate to start threads and solve the problem a few minutes later ;-p I do appreciate the quick response... one of the issues I ran into was array chunkc preserve key = true So instead of output 0,1,2,3 the string name is now preserved and output... this has been a frustrating problem I consistently run into and now the solution is stuck in my brain... I have successfully organized the data into its proper locations for the gallery... So, a new problem has surfaced, I'm using bootstrap , homecarousel1, 2,3,4 My page has about 30 of these gallery's as you scroll down so carousel4*30 would sufice but I hope for a better solution With jquery, if a div is in focus then can I write to the current div gallery that is in focus 'div id=homecarousel1' Im about to try some examples in a online jsfiddle
  3. ​ ​ ​ ​Ok, so i have loads of working examples, as my approach for anything is to take it one example at a time... ​the database stuff is already covered, this array is a sql query from the database, my attempt to organize and display it... ​I am close to having a little working php example, the output is not as expected but the little bit of code is close to what im looking for ​ so, there is a reoccurring output problem i consistently run into with php during loops... ​ <?php $data=array('justin' => '/img/justin.jpg', 'bob' => '/img/justin.jpg', 'tim' => '/img/justin.jpg', 'mike' => '/img/justin.jpg', 'josh' => '/img/justin.jpg', 'joe' => '/img/justin.jpg', 'jim' => '/img/justin.jpg', 'jiji' => '/img/justin.jpg', 'steve' => '/img/justin.jpg', 'stove' => '/img/justin.jpg', 'stitch' => '/img/justin.jpg', 'rierie' => '/img/justin.jpg', 'alvin' => '/img/justin.jpg', 'sara' => '/img/justin.jpg', 'kate' => '/img/justin.jpg', 'erica' => '/img/justin.jpg', ); print_r(count($data)."<br>"); $size=(count($data)); foreach ((array_chunk($data, $size/4)) as $block){ foreach ($block as $name => $loc) { print_r("$name::$loc"); print_r("<br>"); } print_r("<br><br>"); } ?> ​and here is the output ​ 16 0::/img/justin.jpg 1::/img/justin.jpg 2::/img/justin.jpg 3::/img/justin.jpg 0::/img/justin.jpg 1::/img/justin.jpg 2::/img/justin.jpg 3::/img/justin.jpg 0::/img/justin.jpg 1::/img/justin.jpg 2::/img/justin.jpg 3::/img/justin.jpg 0::/img/justin.jpg 1::/img/justin.jpg 2::/img/justin.jpg 3::/img/justin.jpg ​ i have now the sublist i need to build my gallery... the problem i constantly run into is the first variable output as 0,1,2,3 and should be the string/name... im missing something simple here, always frustrated when i see this output from php
  4. ​ ​ digip i do appropriate your directions, you have given me the proper direction to complete a basic gallery... I now have a tricky php algorithm running threw my mind that has me puzzled ​ ​this will be a automated way of pulling data from my sql database, and placing each persons image into the gallery... ​ This list could include any ware from 5 people to 25 people... starting from the top, how could you place each one into 4 caruosel div's in the format as displayed below... php? i8igmac @ freenode 'justin' => '/img/justin.jpg', 'bob' => '/img/justin.jpg', 'tim' => '/img/justin.jpg', 'mike' => '/img/justin.jpg', 'josh' => '/img/justin.jpg', 'joe' => '/img/justin.jpg', 'jim' => '/img/justin.jpg', 'jiji' => '/img/justin.jpg', 'steve' => '/img/justin.jpg', 'stove' => '/img/justin.jpg', 'stitch' => '/img/justin.jpg', 'rierie' => '/img/justin.jpg', 'alvin' => '/img/justin.jpg', 'sara' => '/img/justin.jpg', 'kate' => '/img/justin.jpg', 'erica' => '/img/justin.jpg', ​ <div class="col-xs-3 col-xs-B-2"> <div id="homeCarousel1" class="carousel slide"> <div class="carousel-inner"> <div class="item active"> <img src="img/justin.jpg" /> <h6>justin</h6> </div> <div class="item"> <img src="img/bob.jpg" /> <h6>bob</h6> </div> <div class="item"> <img src="img/tim.jpg" /> <h6>tim</h6> </div> <div class="item"> <img src="img/mike.jpg" /> <h6>mike</h6> </div> </div> </div> </div> <div class="col-xs-3 col-xs-B-2"> <div id="homeCarousel2" class="carousel slide"> <div class="carousel-inner"> <div class="item active"> <img src="img/josh.jpg" /> <h6>josh</h6> </div> <div class="item"> <img src="img/joe.jpg" /> <h6>joe</h6> </div> <div class="item"> <img src="img/jim.jpg" /> <h6>jim</h6> </div> <div class="item"> <img src="img/jiji.jpg" /> <h6>jiji</h6> </div> </div> </div> </div> <div class="col-xs-3 col-xs-B-2"> <div id="homeCarousel3" class="carousel slide"> <div class="carousel-inner"> <div class="item active"> <img src="img/steve.jpg" /> <h6>steve</h6> </div> <div class="item"> <img src="img/stove.jpg" /> <h6>stove</h6> </div> <div class="item"> <img src="img/stitch.jpg" /> <h6>stitch</h6> </div> <div class="item"> <img src="img/rierie.jpg" /> <h6>rierie</h6> </div> </div> </div> </div> <div class="col-xs-3 col-xs-B-2"> <div id="homeCarousel4" class="carousel slide"> <div class="carousel-inner"> <div class="item active"> <img src="img/alvin.jpg" /> <h6>alvin</h6> </div> <div class="item"> <img src="img/sara.jpg" /> <h6>sara</h6> </div> <div class="item"> <img src="img/kate.jpg" /> <h6>kate</h6> </div> <div class="item"> <img src="img/erica.jpg" /> <h6>erica</h6> </div> </div> </div> </div> ​
  5. http://jsfiddle.net/fvAyS/63/ ​I DID IT ,-) ​yes, as you say alt appears to be the only option lol... i dont know what im doing ​ ​ ​Edit... so, i have applied my new gallery to my site... there is a problem now with bootstrap responsive-img does not work, when you resize the screen the image gallery should get smaller ​http://jsfiddle.net/fvAyS/64/ ​Check out this example... try and resize the screen
  6. ​ <img src="/images/beach1.jpg" alt='some text' /> ​<img src="/images/beach2.jpg" alt='some more text' /> <img src="/images/beach2.jpg" alt='and some more' /> ​Im trying to add a small image gallery, each image should fade/cycle into the next as this example shows, ​http://jquery.malsup.com/cycle/count.html ​ Oh, i have a working example now LOL sorry, ​http://jsfiddle.net/fvAyS/63/
  7. Sometimes stopping reaver and restarting may fix it... it should pick up where the attack left off... does your brother use windows? Mac? Linux? there are lots of tools that can produce a reverse shell for his machine... set toolkit, build your self a reverse shell fishing tactic, what sites do you know he visits daily? Make a spoof, send him a link...
  8. try another access point. I have seen wpa_supplicant struggle with specific access points... Turn your phone into a hotspot if you need a extra access point
  9. You can open a second console and tail -f /var/log/kern.log You may find the wireless card is disconnecting It might be a WPA_supplicant conflict with another service Try a kali live cd
  10. try apt-get update... you can ping outside your network with out a problem? maybe your browser is messed up... you could try a live kali cd... As said above change your resolv conf to 8.8.8.8
  11. Any one experience a locked xlsx document, I'm looking for ways to crack this password protected file... my employer employed a IT guy to help design a new invoice for our company, the relationship just ended and bad terms with this techy, he does not respond to our emails... I was asked if this password could be cracked. This was a request made only a few minutes ago, and my Google searchs lead to winblows malware... I won't have access to my laptop until tonight. so I appreciate any advice you guys can give. John the Ripper is in my mind
  12. http://en.m.wikipedia.org/wiki/Samy_(computer_worm) Its all depending on the vulnerability you find, How creative you are and how mutch trouble you don't want to be in... Xss should never be overlooked
  13. Im on my phone, i dont see a link to the script, can you post the script here plz...
  14. It was really cool back when it was fully undetectable... its a shame they went public... Research other ways of
  15. edit: installed kali 1.1.0 lastnight... ls /dev/mmc* mount /dev/mmcblk0p1 /boot/ ls /boot all your over clocking options for config.txt are in the links i provide... i just wanted to share... i have not tested but here it is... insert your kali installed sdcard into your labtop, you will see 2 partitions... /dev/sdc1 and /dev/sdc2, you will notice some files exist in sdc1... bootcode.bin and start.elf, write your config.txt here... the links i provide will show all options for config.txt kali /boot folder is empty https://github.com/raspberrypi/firmware/tree/master/boot http://www.raspberrypi.org/documentation/configuration/config-txt.md usefull document for boot options http://elinux.org/RPiconfig more info
  16. http://stackoverflow.com/questions/1005153/auto-detect-mobile-browser-via-user-agent one of my projects i was working on, i wanted to create a better view for mobile devices. there are plenty of examples here that use if expressions for when a specific device is found...
  17. Quote cooper "the quickest way is to get the website to return an hsts header with a time of 1, but you need full control over the webserver to achieve this" how often is this packet found? if I pass this data threw a tamper proxy, I could change this value to 1 as you say could defeat this hsts. Then this data could pass threw sslstrip and we are all set? If I had time to Test this... when would I see this packet, at the beginning of the session?
  18. I believe the only way for this to work on mobile devices is to manualy add a cert to the device. the hsts is coded into the app or somethink Each device will have its own install process to add your custom cert... there may already be some fusions for this idk. Some kind of portal
  19. Show me how you plan to create the access point? And how you plan to get the key?
  20. you want to create identical access points ? I suppose death is also wanted here? deauthenticate all clients and force them to connect to your fake essid? Once these clients connect to your rogue ap, then you would need to safe list these client's from being deauthenticated? does the channel/bssid/encryption matter with this kind of exploit... will you increase your success rate if you fully duplicate essid/bssid/channel/encryption? I don't think it matters but I don't have proof...
  21. Is the capture file necessary. Airodump-ng creates a csv file in plain text, it will hold all the data you need, access points, clients, channels. Choose your scripting language, sort threw this data how ever you like...
×
×
  • Create New...