Este documento presenta un plan de clases para estudiantes de 2¡ã grado sobre los medios de transporte. El tema central es la identificaci¨®n de los tipos de medios de transporte a¨¦reos, terrestres y acu¨¢ticos. Los objetivos son que los estudiantes aprendan qu¨¦ son los medios de transporte, los conozcan a trav¨¦s de ejemplos de la vida diaria y puedan diferenciar entre los tipos. Las actividades propuestas incluyen dibujar y colorear medios de transporte, trabajar individualmente y socializar sobre el tema.
This document discusses the differences between active and passive candidates and provides best practices for recruiting passive candidates. It outlines tools like career pages, recruitment ads, and talent networks that can be used to find and engage both active and passive talent. It also emphasizes the importance of understanding the target audience and positioning the company as an employer of choice. The document provides examples of how other companies have used recruitment insights to successfully change their messaging and improve candidate consideration and hiring.
World War II began in 1939 and lasted until 1945. It involved many countries around the world, including Great Britain, France, the Soviet Union, the United States, China, Germany, Italy and Japan. Over 50 million people died in the war. Some of the key causes included the impact of the Great Depression, the Treaty of Versailles which handicapped Germany, and Japan's invasion of China to seek resources. The war resulted in the rise of the United States and Soviet Union as superpowers and weakened Western European influence globally. It also led to the emergence of the Cold War and beginning of the nuclear age.
This document summarizes a meeting discussing financial management and working capital management within an organization. It outlines analyzing the nature and purpose of financial management, discussing the nature of working capital and its elements, and applying working capital ratios to the organization. Key factors for determining the organization's working capital requirements and different funding strategies are also analyzed.
This document provides an overview of different types of pollution, including their definitions, causes, effects, and methods of prevention. It discusses air pollution, water pollution, noise pollution, land pollution, and radioactive pollution. For each type of pollution, it outlines the major causes as industries, automobiles, waste disposal, etc. and effects on human health, environment, and aquatic life. The document also suggests prevention methods like using cleaner fuels, proper waste disposal, reducing noise levels, reforestation, and nuclear safety measures.
This document discusses how spatial planning theory may be limiting how we see the world. It argues that planning aims to establish orderly places, but some activities like guerrilla gardening and permaculture challenge this order. These activities push boundaries and champion environmental ethics over regulations. While they could provide new opportunities, planners often view them as threats and marginalize these groups and fringe spaces. The document questions if planning theory needs to consider micro-practices and new meanings of place rather than focusing only on regulation and established order.
James Lowery, Latitude Client Summit 2013: How to Make Friends and Influence ...yrewol
?
Moving away from optimising websites to optimising business strategy. Presentation from the Latitude Client Summit 2013 where I spoke about how SEO belongs at the heart of an interdependent or omnichannel digital marketing strategy.
Elin Amberg was born in 1985 and studied Media Technology and Computer Science, graduating in 2010. She currently works at Arla Foods in Stockholm managing customer communication and social media. Elin believes social media is an important tool for customer relationship management and search engine optimization, and wants to learn more to be prepared for the future of those fields.
Praekelt Foundation released the results of a groundbreaking Youth Sex Survey, conducted on its YoungAfricaLive mobile platform, that gives fascinating insight into the sexual behaviour and beliefs of South Africa's youth.
The document appears to be a job satisfaction survey containing 36 questions that ask employees about various aspects of their job including work environment, job security, relationships with employers and coworkers, satisfaction levels, compensation, benefits, discrimination, work-life balance, training, opportunities for advancement, job demands, and support from supervisors. Respondents are asked to rate their level of agreement on topics on a scale ranging from strongly agree to strongly disagree.
The document is the first issue of the Singapore Property Weekly e-magazine. It provides news and articles on the Singapore property market. The summary includes:
- The magazine aims to bring interesting articles on the Singapore property market to readers and welcomes feedback and contributions from readers.
- It provides news and analysis on the residential and commercial/industrial property markets in Singapore, including prices, transactions, new launches, and market trends.
- A book review summarizes a book on the Singapore property market that provides data and tips for property investors.
- In under 3 sentences, the summary captures the main purpose and content covered in the first issue of the Singapore Property Weekly e-magazine.
The document announces an upcoming awards event called the BRIT Awards Ball for Planning Achievement to be held on July 8, 2011 in Birmingham. It provides details on nominating and voting for awards in categories like Best Consultancy, Best Local Authority, Team of the Year, and Young Planner of the Year. It also announces that tickets are available for ?42 before the end of May and ?420 can reserve a table of ten. The event will celebrate excellence in planning in the West Midlands region with dinner, dancing, and an awards ceremony.
The rural-urban fringe is an undervalued space that lacks coherent management. It faces competing demands for housing, retail, recreation, and waste management. Planning has taken a piecemeal approach, focusing on urban needs without consideration for those living in the fringe. Adopting an ecosystem services framework and integrating it with spatial planning could provide a holistic way to manage the fringe by accounting for the various economic, social, and environmental benefits it provides. However, challenges remain around stakeholder inclusion, long-term planning, and empowering deprived communities under new localism policies.
Presentasi ni saya susun dan bawakan dalam sesi Panduan Internet Bijak dalam Pelatihan "Pemanfaatan TIK dalam Pendidikan"
bertempat di PPm Ar-Rasyid, Labuhanbatu Selatan. Tanggal 3 Nov 2012
Our minds develop through complex processes from before birth. As our brains grow, our experiences and environments shape who we become through forming new neural connections. How our caregivers interact with us during early childhood helps build the foundation for our social, emotional and language skills.
O documento ¨¦ uma mensagem da Natureza falando sobre a import?ncia de respeitar e proteger o meio ambiente. A Natureza diz que ¨¦ essencial para a vida humana, mas que as pessoas n?o respeitam o que ela oferece e destroem os recursos naturais, amea?ando a vida das gera??es futuras. Ela pede ¨¤s pessoas que cuidem melhor do planeta.
Crunch and sip is a good idea that encourages children to eat fruits and vegetables to stay healthy and energetic. It helps children grow taller, gain energy to focus in class, and avoid stains that could anger parents. While some argue it wastes time, crunch and sip overall supports children's health and learning.
A Pannon Egyetemen fejlesztett felh? alap¨² workflow rendszer (ORENBI) back-end oldali fejleszt¨¦se alapj¨¢n a M?szaki Informatikai karon tartott tansz¨¦ki szemin¨¢rum sor¨¢n el?adott prezent¨¢ci¨®nk. A prezent¨¢ci¨® t¨¦m¨¢ja az alkalmazott technol¨®gi¨¢k ¨¦s architekt¨²r¨¢lis valamint TDD m¨®dszereink bemutat¨¢sa ¨¦s tapasztalataink ¨¢tad¨¢sa.
This document provides an overview of different types of pollution, including their definitions, causes, effects, and methods of prevention. It discusses air pollution, water pollution, noise pollution, land pollution, and radioactive pollution. For each type of pollution, it outlines the major causes as industries, automobiles, waste disposal, etc. and effects on human health, environment, and aquatic life. The document also suggests prevention methods like using cleaner fuels, proper waste disposal, reducing noise levels, reforestation, and nuclear safety measures.
This document discusses how spatial planning theory may be limiting how we see the world. It argues that planning aims to establish orderly places, but some activities like guerrilla gardening and permaculture challenge this order. These activities push boundaries and champion environmental ethics over regulations. While they could provide new opportunities, planners often view them as threats and marginalize these groups and fringe spaces. The document questions if planning theory needs to consider micro-practices and new meanings of place rather than focusing only on regulation and established order.
James Lowery, Latitude Client Summit 2013: How to Make Friends and Influence ...yrewol
?
Moving away from optimising websites to optimising business strategy. Presentation from the Latitude Client Summit 2013 where I spoke about how SEO belongs at the heart of an interdependent or omnichannel digital marketing strategy.
Elin Amberg was born in 1985 and studied Media Technology and Computer Science, graduating in 2010. She currently works at Arla Foods in Stockholm managing customer communication and social media. Elin believes social media is an important tool for customer relationship management and search engine optimization, and wants to learn more to be prepared for the future of those fields.
Praekelt Foundation released the results of a groundbreaking Youth Sex Survey, conducted on its YoungAfricaLive mobile platform, that gives fascinating insight into the sexual behaviour and beliefs of South Africa's youth.
The document appears to be a job satisfaction survey containing 36 questions that ask employees about various aspects of their job including work environment, job security, relationships with employers and coworkers, satisfaction levels, compensation, benefits, discrimination, work-life balance, training, opportunities for advancement, job demands, and support from supervisors. Respondents are asked to rate their level of agreement on topics on a scale ranging from strongly agree to strongly disagree.
The document is the first issue of the Singapore Property Weekly e-magazine. It provides news and articles on the Singapore property market. The summary includes:
- The magazine aims to bring interesting articles on the Singapore property market to readers and welcomes feedback and contributions from readers.
- It provides news and analysis on the residential and commercial/industrial property markets in Singapore, including prices, transactions, new launches, and market trends.
- A book review summarizes a book on the Singapore property market that provides data and tips for property investors.
- In under 3 sentences, the summary captures the main purpose and content covered in the first issue of the Singapore Property Weekly e-magazine.
The document announces an upcoming awards event called the BRIT Awards Ball for Planning Achievement to be held on July 8, 2011 in Birmingham. It provides details on nominating and voting for awards in categories like Best Consultancy, Best Local Authority, Team of the Year, and Young Planner of the Year. It also announces that tickets are available for ?42 before the end of May and ?420 can reserve a table of ten. The event will celebrate excellence in planning in the West Midlands region with dinner, dancing, and an awards ceremony.
The rural-urban fringe is an undervalued space that lacks coherent management. It faces competing demands for housing, retail, recreation, and waste management. Planning has taken a piecemeal approach, focusing on urban needs without consideration for those living in the fringe. Adopting an ecosystem services framework and integrating it with spatial planning could provide a holistic way to manage the fringe by accounting for the various economic, social, and environmental benefits it provides. However, challenges remain around stakeholder inclusion, long-term planning, and empowering deprived communities under new localism policies.
Presentasi ni saya susun dan bawakan dalam sesi Panduan Internet Bijak dalam Pelatihan "Pemanfaatan TIK dalam Pendidikan"
bertempat di PPm Ar-Rasyid, Labuhanbatu Selatan. Tanggal 3 Nov 2012
Our minds develop through complex processes from before birth. As our brains grow, our experiences and environments shape who we become through forming new neural connections. How our caregivers interact with us during early childhood helps build the foundation for our social, emotional and language skills.
O documento ¨¦ uma mensagem da Natureza falando sobre a import?ncia de respeitar e proteger o meio ambiente. A Natureza diz que ¨¦ essencial para a vida humana, mas que as pessoas n?o respeitam o que ela oferece e destroem os recursos naturais, amea?ando a vida das gera??es futuras. Ela pede ¨¤s pessoas que cuidem melhor do planeta.
Crunch and sip is a good idea that encourages children to eat fruits and vegetables to stay healthy and energetic. It helps children grow taller, gain energy to focus in class, and avoid stains that could anger parents. While some argue it wastes time, crunch and sip overall supports children's health and learning.
A Pannon Egyetemen fejlesztett felh? alap¨² workflow rendszer (ORENBI) back-end oldali fejleszt¨¦se alapj¨¢n a M?szaki Informatikai karon tartott tansz¨¦ki szemin¨¢rum sor¨¢n el?adott prezent¨¢ci¨®nk. A prezent¨¢ci¨® t¨¦m¨¢ja az alkalmazott technol¨®gi¨¢k ¨¦s architekt¨²r¨¢lis valamint TDD m¨®dszereink bemutat¨¢sa ¨¦s tapasztalataink ¨¢tad¨¢sa.
R?vid t?rt¨¦nelmi ¨¢ttekint¨¦s az id¨¦n m¨¢jusban verzi¨®sz¨¢mot l¨¦pett Laravel PHP keretrendszerr?l, fel¨¦p¨ªt¨¦s¨¦r?l ¨¦s el?nyeir?l is. Ezen k¨ªv¨¹l sz¨®ba ker¨¹ltek m¨¦g a 2013. november v¨¦g¨¦n ¨¦rkez? 4.1-es friss¨ªt¨¦s ¨²jdons¨¢gai is.
"Erd¨¦lyi Tam¨¢s (netpeople.hu) el?ad¨¢s¨¢ban besz¨¦lni fog a legfontosabb v¨¢ltoz¨¢sokr¨®l ¨¦s hogy mi¨¦rt is lesz ez j¨® nek¨¹nk. R?viden, c¨ªmszavakban sz¨® lesz a megv¨¢ltozott k?nyvt¨¢rstrukt¨²r¨¢r¨®l, az ¨²j valid¨¢ci¨®s lehet?s¨¦gekr?l, a f¨¢jlgener¨¢torokr¨®l, a f¨¢jlrendszer el¨¦r¨¦s¨¦t kib?v¨ªt?, ¨²j alap package-r?l, a Flysystemr?l ¨¦s az ¨²n. Contractokr¨®l, amelyek m¨¦g ¨¢tl¨¢that¨®bb, tiszt¨¢bb keretet adnak a rendszernek."
http://www.meetup.com/laravelbp/events/213586752/
The document discusses Behavior Driven Development (BDD) including its origins, common misconceptions, and best practices. BDD emerged from tools like RSpec, Cucumber, and JBehave. It is meant for communication and discovery, not testing. Scenarios should use declarative language ("what" and "why") rather than imperative language ("how"). Scenarios work best when describing features at a high level by "chunking up" details.
This document discusses issues with using SQL as an API rather than as a user interface. It was designed as a user interface, not an API, leading to problems like leaking data structures and logic to the database. This violates separation of concerns and makes tasks like testing and optimization difficult. The document argues for a native database API that is simpler and separates the application's data structure from what is stored in the database in a schema-less way. This would improve flexibility, testability, and avoid performance issues from changing queries to optimize logic.
Dev tools rendering & memory profilingOpen Academy
?
Chrome DevTools provide tools for debugging, profiling, and optimizing web page performance. They allow developers to visualize the rendering process, debug issues, and find opportunities to reduce layout reflows and repaints. Key features include the timeline panel to show paint rectangles and composited layer borders, heap snapshots to analyze memory usage, and memory profiling to detect leaks and optimize memory management. Using DevTools, developers can diagnose performance bottlenecks and ensure smooth interactions at 60 frames per second.
Ipari felh? infrastrukt¨²r¨¢k a gyakorlatbanOpen Academy
?
K?zel az id?, amikor a v¨¢llalati szerverszob¨¢k ki¨¹r¨¹lnek, ¨¦s helyett¨¹k a 220V-os csatlakoz¨® aljzatok mellett megjelennek a t¨¢r- ¨¦s sz¨¢m¨ªt¨¢si kapacit¨¢st k¨ªn¨¢l¨® UTP aljzatok.
(Krasznay Csaba, IT biztons¨¢gi szak¨¦rt?, HP)
Adminisztrat¨ªv protokollok ellen?rz¨¦si lehet?s¨¦geiOpen Academy
?
Compliance? Biztons¨¢g? Bizalmatlans¨¢g? Hogyan ¨¦s mi¨¦rt lehet ¨¦s kell ellen?rizni a magas jogosults¨¢g¨² felhaszn¨¢l¨®k tev¨¦kenys¨¦g¨¦t?
(H?ltzl P¨¦ter, IT biztons¨¢gi szak¨¦rt?, BalaBit)
Egy j¨®l be¨¢ll¨ªtott napl¨®z¨® infrastrukt¨²ra aranyat ¨¦r, hiszen sz¨¢mos olyan trendi funkci¨®t is kiv¨¢lthat, amelyeket egy¨¦bk¨¦nt jelent?s beruh¨¢z¨¢ssal tudn¨¢nk csak megoldani.
Pontosabban a HTML. Az ?t?s. ?s hogy ker¨¹l a JavaScript a szerverre? Mi k?z¨¹k ezeknek egym¨¢shoz? Mibe ¨¢sd bele magad, ha szeretn¨¦l felk¨¦sz¨¹lni a j?v?re?
A szoftverfejleszt¨¦s m¨¢r r¨¦g ¨®ta nem mag¨¢nyos h?s?k j¨¢t¨¦ka, hanem igazi csapatmunka. ?s a piaci ig¨¦nyekre gyorsan reag¨¢l¨® v¨¢ltoz¨® specifik¨¢ci¨® sem kik¨¹sz?b?lend? rossz, hanem ipar¨¢gi elv¨¢r¨¢s.
Verzi¨®k?vet? rendszerek alkalmaz¨¢sa fejleszt¨¦si projektekbenOpen Academy
?
Mi az, amit minden fejleszt?nek tudnia kellene, de szinte nincs egyetem, ahol oktatn¨¢k? Ezek a verzi¨®k?vet? rendszerek, amit minden j¨®l m?k?d? fejleszt?c¨¦g alkalmaz.
2. Bevezet?
? ¡°0% ****, 100% tapasztalat¡± ?
? ¡¨¦s n¨¦h¨¢ny technikai finoms¨¢g
? A webalkalmaz¨¢sok a v¨¢llalati infrastrukt¨²ra tipikus
gyenge pontjai
? Egyedi alkalmaz¨¢s
? Nem ny¨²lunk hozz¨¢, ameddig m? m?k?dik
? A PHP remek ¨¢llatorvosi l¨®
? J¨®l ismert, j¨®l olvashat¨®, egyszer?
? H¨ªrhedten bugos k¨®dok (vagy csak rossz PR?)
4. PHP ¨C Mi¨¦rt nem szeretj¨¹k
L¨¢sd az el?z? di¨¢t :)
K¨®der Pisti kedvenc nyelve
Be¨¦p¨ªtett f¨¹ggv¨¦ny-v¨ªzfej
f¨¹ggv¨¦ny-
K?vetkezetlen elnevez¨¦sek, f¨¹ggv¨¦ny-szignat¨²r¨¢k
f¨¹ggv¨¦ny-
? strlen(), str_split()
A b?s¨¦g zavara
? mysql_escape_string(),
mysql_real_escape_string(), addslashes() ¡
Biztons¨¢g...?
Y U No Unicode?
6. PHP biztons¨¢g - ¨®voda
A webszerver korl¨¢tozott jogokkal fut, ugye?
A register_globals ki van kapcsolva, ugye?
URL-
URL-eket nem lehet megnyitni, ugye?
megnyitni, ugye?
A felhaszn¨¢l¨®k nem l¨¢tj¨¢k a hiba¨¹zeneteket, ugye?
7. A PHP-s t¨ªpushiba
PHP-
? File Include hib¨¢k
? Azonnali k¨®dfuttat¨¢s
? Helyi forr¨¢sb¨®l
? T¨¢voli forr¨¢sb¨®l
? Egy kis eml¨¦keztet?¡
8. Local File Include
? <?include(¡°files/¡±.$_GET[¡®inc¡¯]);?>
? Mit futtathatunk?
futtathatunk?
? Alkalmaz¨¢son kereszt¨¹l felt?lt?tt f¨¢jlok
? Ideiglenes f¨¢jlok
? Napl¨®f¨¢jlok (pl. PHP k¨®d a User Agentben)
Agentben)
? Az alkalmaz¨¢s saj¨¢t f¨¢jljait rossz helyen include-
include-
olva igen hasznos hiba¨¹zenetek kaphat¨®ak
9. Remote File Include
? <?include($_GET[¡®inc¡¯].¡±.php¡±);?>
? allow_url_fopen=True
? Mit futtathatunk?
? T¨¢voli webkiszolg¨¢l¨®n elhelyezett tetsz?
tetsz?leges
k¨®dot!
? Legt?bbsz?r egyben LFI is¡
10. Basedir restriction
?
Minden f¨¢jlkezel? funkci¨®ban ellen?
ellen?rizni kellene a be¨¢ll¨ªt¨¢st
?s minden felhaszn¨¢lt C k?nyvt¨¢rban is¡
5.2.9, 5.2.12, 5.3.0, 5.3.1 ¡ mind megker¨¹lhet?
MOPB: ?not simple safe_mode, open_basedir bypass
vulnerabilities¡±
Tudta-
Tudta-e ?n, hogy 5.2.16 ill. 5.3.4 el?tt az itt megadott ¨¦rt¨¦kek,
el?
csak prefixek, nem konkr¨¦t k?nyvt¨¢rak voltak?
/home/b => /home/b/ , /home/bizalmas/
11. Safe Mode
Egy pr¨®b¨¢lkoz¨¢s a vesz¨¦lyes f¨¹ggv¨¦nyek letilt¨¢s¨¢ra /
korl¨¢toz¨¢s¨¢ra
Minden ¨¦rintett funkci¨®ban ellen?
ellen?rizni kellene a be¨¢ll¨ªt¨¢st
Az eredm¨¦ny: hamis biztons¨¢g¨¦rzet
?safe mode is an attempt to solve the shared-server security problem. It is
shared-
architecturally incorrect to try to solve this problem at the PHP level, but
since the alternatives at the web server and OS levels aren't very realistic,
many people, especially ISP's, use safe mode for now¡±
?This is a still probably incomplete and possibly incorrect listing of the
functions limited by safe mode. ¡±
5.3.0 ¨®ta deprecated, 6-ban nincs
6-
15. Vesz¨¦lyes f¨¹ggv¨¦nyek
A list¨¢nak m¨¦g kor¨¢nt sincs v¨¦ge
A modulok nagy r¨¦sz¨¦t m¨¦g nem is l¨¢ttuk!
? ? ?jtem¨¦ny:
Folyamatosan b?v¨¹l? gy?jtem¨¦ny:
https://github.com/v-
https://github.com/v-p-b/DangerousPHPFunctions
Erre ¨ªrjon valaki IDS szab¨¢lyt, logelemz? stb.!
logelemz?t,
Az eval()-t le sem lehet tiltani
eval()-
A disable_functions legal¨¢bb j¨®l kezelhet?
Szint¨¦n hasznos INI param¨¦terek:
extension_dir, enable_dl
16. F¨¢jl fel?lt¨¦s
Kedvenc¨¹nk, tipikus gyenge pont
Sok helyen el?fordul
Legal¨¢bb 80% sebezhet?
Legt?bb esetben azonnal k¨®dot futtathatunk
?s¨¦gek
Alattomos hibalehet?s¨¦gek
17. F¨¢jl felt?lt¨¦s -
?k?lszab¨¢lyok
?r¨¦s
Feh¨¦rlist¨¢s sz?r¨¦s kiterjeszt¨¦sekre
De: Egy JPG-t is lehet futtatni include() hib¨¢val!
JPG-
Nevezz¨¹k ¨¢t a felt?lt?tt f¨¢jlt!
A f¨¢jln¨¦v is tartalmazhat shell, PHP utas¨ªt¨¢sokat!
Ha JPG-re sz¨¢m¨ªtunk, legyen ez az ¨²j kiterjeszt¨¦s!
JPG-
Ha nem musz¨¢j, ne a webroot al¨¢ t?lts¨¹nk fel!
Egy diszp¨¦cser szkript jogosults¨¢got ellen?
ellen?rizhet, MIME
t¨ªpust ¨¢ll¨ªthat stb.
A k¨¦peket transzform¨¢ljuk!
A dupla kiterjeszt¨¦seket ker¨¹lj¨¹k!
18. F¨¢jlfelt?lt¨¦s ¨C Az Apache
tr¨¹kk
?r¨¹nk
Feh¨¦rlist¨¢val sz?r¨¹nk kiterjeszt¨¦seket
$allowed=array(?.avi¡±,¡±.mov¡±,¡±.qt¡±);
if (inarray(strrchr($name,'.'),$allowed)) return ACCEPT;
Felt?lt?k egy shell.php.qt nev? f¨¢jlt
A kiterjeszt¨¦s megfelel?
Az Apache viszont nem ismeri a .qt kiterjeszt¨¦st, ez¨¦rt
a k?vetkez?t veszi figyelembe kiszolg¨¢l¨¢skor!
?t
Van egy PHP shell¨¹nk...
19. F¨¢jlfelt?lt¨¦s ¨C IIS-en
IIS-
ugyanez
<= IIS 6
evil.asp;.jpg vagy evil.asp:.jpg
A ; ill. : ut¨¢ni r¨¦szeket a kiszolg¨¢l¨® nem veszi
figyelembe
22. K¨¦pek ¨¢tm¨¦retez¨¦se
? image_resize.php?width=100&height=100
image_resize.php?width=100&height=100
? ¡°?r?m, b¨®dott¨¢¡±
?r?m, b¨®dott¨¢¡±
? image_resize.php?width=10000&height=10000
image_resize.php?width=10000&height=10000
? DoS,
DoS, nem?r?m
? Nem csak a webes hib¨¢kra kell figyelni!
figyelni!
? ¡°A t¨¢mad¨¢sok soha nem lesznek rosszabbak¡±
rosszabbak¡±
23. F¨¢jlfelt?lt¨¦s - RFC1867
Gynvael Coldwind, 2011
?,
Nem jellemz?, de nagyon sz¨¦p :)
Felt¨¦telezz¨¹k, hogy m¨¢r van egy helyi include hiba
Linuxon ¨¢ltal¨¢ban ez sem el¨¦g
Nagyr¨¦szt Windows lehet?
lehet?s¨¦g
26. F¨¢jlfelt?lt¨¦s - RFC1867
A felt?lt?tt f¨¢jlok v¨¦letlenszer? nevet kapnak
ellen?rz¨¦s el?tt
A k?nyvt¨¢r ¨¢ltal¨¢ban default
Windowson 16-bit v¨¦letlen ¨C nem t¨²l sok
16-
De a Windows ¨¦rtelmezi a wildcardokat !(!!1)
!(!!1
?leges
<< Tetsz?leges karakterl¨¢nc
< Tetsz?leges karakter
?
Els? egyez¨¦s kiv¨¢laszt¨¢sa
27. Adatb¨¢zis el¨¦r¨¦s
? Az SQL injection rossz, ¨¦rtem?
rossz, ¨¦rtem?
? Ugye mindenki tudja mi az az SQL injection¡?
? MySQL-
MySQL-hez van remek escape f¨¹ggv¨¦ny!
f¨¹ggv¨¦ny!
? mysql_escape_string()
mysql_escape_string()
? Azaz m¨¦gsem olyan j¨®¡
j¨®¡
28. Adatb¨¢zis el¨¦r¨¦s ¨C SQL
Smuggling
? A DBMS okosan az ¨¦rv¨¦nyes locale szerint pr¨®b¨¢lja
¨¢talak¨ªtani a sp¨¦ci karaktereket
? ? -> A, ?->I, ?->U ¡
? - ?-
? A mysql_escape_string() nem veszi figyelembe az
adatb¨¢zis locale-t
locale-
? Az PHP escape ¨¦s a DBMS konverzi¨® ut¨¢n ¨²jra
injectionre alkalmas karakterl¨¢nc ¨¢llhat el?
? http://wechall.net/challenge/addslashes/index.php
? ?ben
?l?ben m¨¦g nem l¨¢ttam ilyet, de ¡
31. Adatb¨¢zis el¨¦r¨¦s - ORM
? Object Relational Mapping
? DB entit¨¢s -> Objektum
? A legt?bb keretrendszer tudja
? Szint¨¦n biztons¨¢gos
? Ha a keretrendszerben nem sz¨²rtak el valamit¡
valamit¡
? Nagyon k¨¦nyelmes
? PHP ¨¦s SQL elv¨¢lasztva
? Sokszor nem hat¨¦kony
? Nem minden queryt lehet megfogalmazni
32. Adatb¨¢zis el¨¦r¨¦s - ORM
? A ¡°fogalmaz¨¢si¡± probl¨¦m¨¢kat sokszor a subquery-k
subquery-
okozz¨¢k
? JOIN-
JOIN-olj okosan, subquery-k ¨¢ltal¨¢ban
subquery-
feleslegesek!
? Haszn¨¢ljunk VIEW-kat!
VIEW-
? Haszn¨¢ljunk t¨¢rolt elj¨¢r¨¢sokat!
? Melyekben figyel¨¹nk az SQL injectionre :P
33. S¨¹ti attributumok - HttpOnly
? Tank?nyvi XSS p¨¦lda:
<script>alert(document.cookie)</script>
? HttpOnly: Kliens oldali szkriptek nem f¨¦rhetnek hozz¨¢
a s¨¹tihez!
? ?
B?ng¨¦sz? feature, nem biztos, hogy mindenhol
implement¨¢lt¨¢k!
? ?l
Ett?l a XSS m¨¦g vesz¨¦lyes marad!
? Teljes kontroll a felhaszn¨¢l¨® jogosults¨¢gaival!
34. S¨¹ti attributumok - HttpOnly
? PHP-
PHP-ban alap¨¦rtelmezetten nincs be¨¢ll¨ªtva a flag a
session-
session-?kre
? php.ini: session.cookie_httponly=On
? PHP 5.2.0-t?l
5.2.0-
? session_set_cookie_params()
? M¨¢s s¨¹tikn¨¦l: setcookie() utols¨® param¨¦tere
35. S¨¹ti attributumok - Secure
? Kapkodjuk el a h¨¢l¨®zaton r?pk?d? s¨¹tiket, ¨¦s
jelentkezz¨¹nk be vel¨¹k
? https://github.com/asciimoo/whol
? Firesheep (es¨¦lyes Most Overhyped Extension)
? B¨¢r a kommunik¨¢ci¨® HTTPS-en zajlik,
HTTPS-
?
kik¨¦nyszer¨ªthet? a s¨¹ti titkos¨ªtatlan k¨¹ld¨¦se
? <img src=/open_academy/php-security-2011052640/¡°http:/bank.com/logo.png¡±/>
src=/open_academy/php-security-2011052640/¡°http:/bank.com/logo.png¡±/>
? Secure: A s¨¹ti csak titkos¨ªtott csatorn¨¢n tov¨¢bb¨ªthat¨®!
? ?
B?ng¨¦sz? feature, nem biztos, hogy mindenhol
implement¨¢lt¨¢k!
36. S¨¹ti attributumok - Secure
? PHP-
PHP-ban alap¨¦rtelmezetten nincs be¨¢ll¨ªtva a flag a
session-
session-?kre
? php.ini: session.cookie_secure=On
? PHP 4.0.4-t?l
4.0.4-
? session_set_cookie_params()
? M¨¢s s¨¹tikn¨¦l: setcookie() utols¨® el? param¨¦tere
el?tti
37. CSRF
? Az XSS meg az SQLi lej¨¢rt lemez
? Mindenki ismeri
? Mindenhol m?k?dik¡
? A Cross-Site Request Forgery is lej¨¢rt lemez, de alig
Cross-
ismerik
? ¡°Mi¨¦rt kellene nekem ilyesmivel foglalkoznom?¡±
? Jogos k¨¦rd¨¦s!
38. CSRF
? Autentik¨¢ci¨® ¨¢ltal¨¢ban s¨¹tikkel
? ?
A b?ng¨¦sz? egy s¨¹tit¨¢rat haszn¨¢l
? A felhaszn¨¢l¨® t?bb lapon b?ng¨¦szik
? Ha egy idegen oldalon elhelyezett form k¨¹ld adatot
egy m¨¢sik oldalra, ahov¨¢ a felhaszn¨¢l¨® be van
?
jelentkezve, a b?ng¨¦sz? automatikusan k¨¹ldi az
¨¦rv¨¦nyes s¨¹tit
40. CSRF
? Haszn¨¢ljunk v¨¦letlen adatokat tartalmaz¨® mez?
mez?ket
minden formon
? Ez a token¡
? ennek a felhaszn¨¢l¨®nak¡
? erre az ?rlapra lett kiadva
? Referer valid¨¢ci¨®
? Az ¨¢ldozat nem fogja meghamis¨ªtani a saj¨¢t
Referer-
Referer-¨¦t
? Ha titkos¨ªtatlan a csatorna, akkor m¨¢r ¨²gyis
mindegy
41. V¨¦delem - WAF
? Web Application Firewall
? Layer7
? Komoly helyen alapkell¨¦k
? Kiddie-
Kiddie-k ¨¦s t?meges, automatiz¨¢lt t¨¢mad¨¢sok ellen
kiv¨¢l¨®
? Aki ¨¢t akar menni rajta, az el? -ut¨®bb ¨¢t fog menni.
el?bb
el?bb-